SubnetSelection "OnePerAZ" adds more than one per AZ #6217
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
Hello,
when I try to use SubnetSelection and the option "OnePerAZ" it just creates a template of all subnets that are attached to the vpc and not only 1 per AZ
This is the code Iam using
vpc1.add_interface_endpoint('SSMEndpoint', service=ec2.InterfaceVpcEndpointAwsService('ssm'), subnets=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PRIVATE, one_per_az=True))
And this is my output
Not sure if Iam doing something wrong or this option is not working properly
The text was updated successfully, but these errors were encountered: