It seems awsx.ec2.Vpc has issues with large subnet...
# general
s
It seems awsx.ec2.Vpc has issues with large subnets, using all AZs, and splitting it according to the defined awsx.ec2.SubnetSpecArgs.. Has anyone run into this and a way to fix it? for example:
Copy code
vpc = awsx.ec2.Vpc(
    resource_name=vpc_name,
    cidr_block="10.210.0.0/16",
    number_of_availability_zones=6,
    subnet_specs=[
        awsx.ec2.SubnetSpecArgs(
            type=awsx.ec2.SubnetType.PRIVATE,
        ),
        awsx.ec2.SubnetSpecArgs(
            type=awsx.ec2.SubnetType.PUBLIC,
        ),
        awsx.ec2.SubnetSpecArgs(type=awsx.ec2.SubnetType.ISOLATED, cidr_mask=28, name="tgw"),
    ],
    nat_gateways=awsx.ec2.NatGatewayConfigurationArgs(strategy=awsx.ec2.NatGatewayStrategy.SINGLE),
    enable_dns_hostnames=True,
)
continues to receive
The following subnets overlap with at least one other subnet. Make the CIDR for the VPC larger....