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

AWS::CloudFront::Distribution - CloudFormation does not apply the auto generated stack level tags

Open
#2,126 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

### Name of the resource

AWS::CloudFront::Distribution

### Resource Name

_No response_

### Issue Description

CloudFormation does not apply the stack level tags[1] to the resource type `AWS::CloudFront::Distribution`

- aws:cloudformation:logical-id
- aws:cloudformation:stack-id
- aws:cloudformation:stack-name

[1] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html

### Expected Behavior

CloudFormation should apply the tags. The tags helps to identify if the resource was created by CloudFormation and by which stack.

### Observed Behavior

Tags are not applied.

### Test Cases

Create a stack with the resource type `AWS::CloudFront::Distribution`. CloudFormation automatically creates the stack-level tags with the prefix aws::. However, it does not apply to this resource type.

### Other Details

Create a stack with the resource type `AWS::CloudFront::Distribution`. CloudFormation automatically creates the stack-level tags with the prefix aws::. However, it does not apply to this resource type.

Contributor guide

Open the contributing guide

Research direction

No repository files or tests are identified. Reproduce the issue by creating a stack containing AWS::CloudFront::Distribution and inspecting whether the aws:cloudformation:logical-id, aws:cloudformation:stack-id, and aws:cloudformation:stack-name tags are applied; done means all three stack-level tags appear on the resource.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.