1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
As you are aware, only one VPC is read when using "fromLookup".
As far as I know, there is no way to list the CIDR of an existing VPC in CDK.
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.Vpc.html
So, you may need to use the AWS SDK, etc.
Relevant content
asked 3 years ago
- AWS OFFICIALUpdated 4 years ago
