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 2 months ago
- Accepted Answerasked 6 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago