ec2 make the cidr_block of ISubnet visible #3951
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
🚀 Feature Request
General Information
Description
Currently when you create a VPC ,
The VPC automatically assigns a CIDR range to each subnet , but this is not made visible to the stack.
So if you now wish to create a security group or NetworkAccessConton ,VPN static route etc
you have no Idea of what IP range was used until after the stack has deployed
Whilst this is Similar to #3931 they are different , this issue allow the end use to see with the current set up what IP range has been created and making the property visible, the other ticket is more about being able to control that property and may not be possible with the current VPC design.
Proposed Solution
Add to the ISubnet a the CidrBlock property,
and populate it value in CreateSubnet()
Environment
Other information
The text was updated successfully, but these errors were encountered: