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

AWS::ElasticLoadBalancingV2::Listener resources don’t receive the aws:cloudformation built-in tags / default AutoTags

Open
#1,436 1 comment 7 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::ElasticLoadBalancingV2::Listener

### Resource Name

_No response_

### 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

All stack resources of type `AWS::ElasticLoadBalancingV2::Listener` 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::ElasticLoadBalancingV2::Listener` resource in your stack, it does not get assigned the built-in tags: `aws:cloudformation:stack-name`, `aws:cloudformation:logical-id` and `aws:cloudformation:stack-id`

### Test Cases

deploy a 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.

### Other Details

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by deploying a stack containing an AWS::ElasticLoadBalancingV2::Listener, using the sample from the AWS documentation, and inspect its tags in the console. Verify that aws:cloudformation:stack-name, aws:cloudformation:logical-id, and aws:cloudformation:stack-id are present and that CloudFormation Drift Detection does not report them as drift.

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.