reeseyc
reeseyc
Confirmed - same issue in python CDK - cannot use ec2.Vpc.from_lookup when multiple private subnets are present
Same issue - and i have all subnets across all az's. It seems it's either considering the data and the private subnets twoce, or re-considering the database subnet group. Error...
Subnet code: ``` yml # aws ec2 describe-subnets --filters "Name=vpcId,Values=vpc-xxxxxxxxxxxxxxxxxxx { "Subnets": [ { "AvailabilityZone": "ap-southeast-2b", "AvailabilityZoneId": "apse2-az1", "AvailableIpAddressCount": 8185, "CidrBlock": "10.0.32.0/19", "DefaultForAz": false, "MapPublicIpOnLaunch": false, "State": "available", "SubnetId": "xxxxxxxxxxxxxxxxxxx",...
@joemcclane85 i cannot see the subnet tags set on your subnets as per this entire thread. you need PUBLIC, PRIVATE and ISOLATED tags on non-CDK generated subnets. If you generate...
@eladb is this the correct classmethod to retrieve an existing VPC? Or is this depreciated? Thanks James
this is not a bug; you can have public, private and isolated subnets. Make sure you have the account and region set in the variables or by o/s setting
@rix0rrr apologies i should have closed this. This is the same issue as #3706 the issue is cause by the fact that the subnets need to be tagged for VPCfromlookup...
We used to have this very same error. Are you specifically setting the account name and region in your code? Either through the parameters or via a pull from the...
It's not just the region that must be set; region and account must be set. Hardcode these values to ensure they are populated new MyStack(app, { env: { region: 'REGION',...
This definitely works, i'm using it. You have something incorrectly configured