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

AWS::ElasticLoadBalancingV2::TargetGroup .Tags always in Drift

Open
#530 1 comment 2 reactions 0 assignees View on GitHub
Coverage
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

## 1. Title
Adding tags in cloudformation to `AWS::ElasticLoadBalancingV2::TargetGroup` always come to drift

## 2. Scope of request
Creating a AWS::ElasticLoadBalancingV2::TargetGroup from a CloudFormation template with a Tags section always give me a Drift status, but the tags where created succesfully.
Deleting the TAG block from yaml file, upload stack, readd tag block, upload stack: same issue

## 3. Expected behavior
No drift detected

## 4. Suggest specific test cases
```
Tags:
- Key: Name
Value: !Sub
- '${ProjectName}-${Env}-${ApplicationName}-tg'
- Env: !FindInMap [Constants, Environment, !Ref Environment]
- Key: Environment
Value: !Ref Environment
- Key: Project
Value: !Ref ProjectName
```

## 5. Helpful Links to speed up research and evaluation

## 6. Category (required) - Will help with tagging and be easier to find by other users to +1
1. Compute (TargetGroup)
2. Management (CloudFormation)

## 7. Any additional context (optional)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the supplied CloudFormation YAML and an AWS::ElasticLoadBalancingV2::TargetGroup, then compare the declared and reported tags during drift detection. Done means the resource's tags are created successfully and the stack reports no drift when the template and deployed resource match.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.