aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap
AWS::ElasticLoadBalancingV2::LoadBalancer resources don’t receive the aws:cloudformation built-in tags / default AutoTags
- 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::LoadBalancer
### 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::LoadBalancer` 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::LoadBalancer` 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)
### Other Details
split from https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/458#issuecomment-627907661 for better viewability
Contributor guide
Research direction
Start by deploying a stack containing an AWS::ElasticLoadBalancingV2::LoadBalancer, using the AWS documentation sample mentioned in the issue, and inspect its tags. Verify that the aws:cloudformation:stack-name, aws:cloudformation:logical-id, and aws:cloudformation:stack-id tags are present and excluded correctly from CloudFormation drift detection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100