aws-cloudformation / cloudformation-coverage-roadmap

The AWS CloudFormation Public Coverage Roadmap
https://aws.amazon.com/cloudformation/
Creative Commons Attribution Share Alike 4.0 International
1.1k stars 54 forks source link

AWS::EC2::VPCCidrBlock - Enable extraction of CIDR blocks #149

Open dpantke opened 5 years ago

dpantke commented 5 years ago

1. Title

AWS::EC2::VPCCidrBlock - add CIDRv4 and CIDRv6 attributes

2. Scope of request

Need to be able to query the IPv4 and IPv6 CIDR ranges from a AWS::EC2::VPCCidrBlock. Currently, only the association itself is returned. The IPv6 return is especially important, and AWS generates this prefix internally and so there's no way of knowing until resource create time.

3. Expected behavior

GetAtt calls for the Ipv4 and IPv6 prefixes returns a valid CIDR from the VPC.

4. Suggest specific test cases

Nothing specific, just generate a new CIDR association and see if the CIDR's are correct.

5. Helpful Links to speed up research and evaluation

6. Category (required) - Will help with tagging and be easier to find by other users to +1

  1. Networking & Content (VPC, Route53, API GW,...)

7. Any additional context (optional)

vigneshthi commented 5 days ago

I want to export the cidrblock value [AWS::EC2::VPCCidrBlock] of the VPC from the stack. I want import the exported value and add it to a security group inbound rule in another stack.