aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

AWS::EC2::VPC tags not propagated to default VPC resources (SecurityGroup, NACL, RouteTable and DHCPOptions)

Open
#1,281 1 comment 3 reactions 0 assignees View on GitHub
enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.