You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Subnets configurations from a newly created VPC throws Type reference has a fully qualified name, but is neither a class nor an enum Parameter name: reference when trying to access the xSubnets properties of the vpc object
To Reproduce
Creating a new VPC with
var subnets = new ISubnetConfiguration[]
{
new SubnetConfiguration { CidrMask = 28, Name = "Public", SubnetType = SubnetType.Public },
new SubnetConfiguration { CidrMask = 28, Name = "Private", SubnetType = SubnetType.Private },
new SubnetConfiguration { CidrMask = 28, Name = "Db", SubnetType = SubnetType.Private },
};
var vpc = new VpcNetwork(this, "vpc", new VpcNetworkProps
{
Cidr = "172.30.0.0/22",
EnableDnsHostnames = true,
EnableDnsSupport = true,
NatGatewaySubnets = new SubnetSelection
{
SubnetType = SubnetType.Public
},
SubnetConfiguration = subnets,
NatGateways = 1,
MaxAZs = 2
});
Then try to access the vpc.PrivateSubnets property
Expected behavior
To get the array of the different subnet types
Version:
Windows 10
C#/dotnet core 2.1
CDK 0.28
The text was updated successfully, but these errors were encountered:
Describe the bug
Subnets configurations from a newly created VPC throws
Type reference has a fully qualified name, but is neither a class nor an enum Parameter name: reference
when trying to access the xSubnets properties of the vpc objectTo Reproduce
Creating a new VPC with
Then try to access the
vpc.PrivateSubnets
propertyExpected behavior
To get the array of the different subnet types
Version:
The text was updated successfully, but these errors were encountered: