Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AWS::ECR::Repository] - [BUG] - resources don't receive the aws:cloudformation built-in tags / default service-managed auto-tags #55

Open
rgoltz opened this issue Jun 10, 2024 · 0 comments

Comments

@rgoltz
Copy link

rgoltz commented Jun 10, 2024

Name of the resource

AWS::ECR::Repository

Issue Description

To find the right CloudFormation Stack, where a AWS resource is defined/maintained aws:cloudformation:* built-in tags are needed. This is an important function in day-to-day business.

Expected Behavior

Resources with type AWS::ECR::Repository, which are managed as CloudFormations Stacks, should automatically receive the aws:cloudformation:* built-in tags / automatic default CFN AutoTags.

Furthermore those aws:cloudformation:* built-in tags must be handled by CloudFormation Drift-Detection correctly (hence, aws:cloudformation:* tags are not a drift)

Observed Behavior

When you have an AWS::ECR::Repository resource in your stack, it does not get the built-in tags assigned: aws:cloudformation:stack-name, aws:cloudformation:logical-id and aws:cloudformation:stack-id

Test Cases

Deploy a CloudFormation stack containing this resource named above (e.g. sample from AWS docs) and check the tags on the console. You can't see aws:cloudformation:* built-in tags.

I've re-tested it right now in eu-central-1 region. No tags aws:cloudformation:* are added to the ECS Service resource.

Other Details

In the area of AWS ECS/ECR Services the resource AWS::ECS::Cluster already receiving aws:cloudformation:* auto-tags.

Furthermore, there is already an open issue in cloudformation-coverage-roadmap repo aws-cloudformation/cloudformation-coverage-roadmap#1280 since 2022.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant