Using version "0.8.0", creating VPC stack does not work:
VpcNetwork vpc = new VpcNetwork(this,
"MyCdkVpc",
VpcNetworkProps.builder()
.withCidr("10.0.0.0/16")
.withMaxAZs(3)
.withSubnetConfiguration(Arrays.asList(
SubnetConfiguration.builder()
.withSubnetType(SubnetType.Private)
.withName("my-private-subnet-1")
.withCidrMask(24)
.build()))
.withNatGateways(1)
.build());
Results in following error:
Malformed enum value: @aws-cdk/aws-ec2.SubnetType/Private
Error: Malformed enum value: @aws-cdk/aws-ec2.SubnetType/Private
when executing cdk deploy.
Same applies to other enums like DefaultInstanceTenancy.
Using version "0.8.0", creating VPC stack does not work:
Results in following error:
when executing
cdk deploy.Same applies to other enums like
DefaultInstanceTenancy.