aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap
AWS::EC2::VPC tags not propagated to default VPC resources (SecurityGroup, NACL, RouteTable and DHCPOptions)
- Dominant language
- No language data
- Stars
- 1.1k
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
### Name of the resource
AWS::EC2::VPC
### Resource Name
AWS::EC2::VPC
### Issue Description
When creating a CloudFormation stack with AWS::EC2::VPC and with tags defined, these tags are not propagated to default VPC resources created by AWS, namely SecurityGroup, NACL, RouteTable and DHCPOptions)
### Expected Behavior
Tags should be propagated to default SecurityGroup, NACL, RouteTable and DHCPOptions resources.
### Observed Behavior
Tags are not propagated to default SecurityGroup, NACL, RouteTable and DHCPOptions resources.
### Test Cases
"myVPC" : {
"Type" : "AWS::EC2::VPC",
"Properties" : {
"CidrBlock" : "10.0.0.0/16",
"EnableDnsSupport" : "true",
"EnableDnsHostnames" : "true",
"Tags" : [
{"Key" : "stack", "Value" : "testing"}
]
}
}
### Other Details
For reference: https://github.com/aws/aws-cdk/issues/21535
Contributor guide
Research direction
Start by reproducing the issue with the provided AWS::EC2::VPC template and inspect whether tags reach the default SecurityGroup, NACL, RouteTable, and DHCPOptions resources. Done means confirming that the stack's VPC tags are propagated to all four default resources.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100