fix(ec2): onePerAz does not work for looked-up VPCs#6265
Conversation
Fix the use of `onePerAz` for VPCs obtained through `Vpc.fromLookup()`. Fixes #3126.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Thank you for contributing! Your pull request is now being automatically merged. |
|
Hi guys, @rix0rrr I am using ecsPatterns.NetworkLoadBalancedFargateService with a vpc imported with vpc lookup and I am having the same problem yet. PS C:\pod\repos\cdk-ecs-networkloadbalancer> cdk --version export class EcsNetworkFargate extends Construct { } **I am tryng filter with the several options of taskSubnets but always get the same error: AWS::ElasticLoadBalancingV2::LoadBalancer | staging/sdf/LB (asdfLB6A0E60DF) A load balancer cannot be attached to multiple subnets in the same Availability Zone (Service: AmazonElasticLoadBalancing; Status Code: 400; Error Code: InvalidConfigurationRequest; Request ID: 303a030b-0ec7-4dbd-afe1-195b3089c529; Proxy: null) Thx you su much in advance! |
Fix the use of
onePerAzfor VPCs obtained throughVpc.fromLookup().Fixes #3126.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license