-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Labels
bugThis issue is a bug.This issue is a bug.
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.