aws-cloudformation / cloudformation-coverage-roadmap

The AWS CloudFormation Public Coverage Roadmap
https://aws.amazon.com/cloudformation/
Creative Commons Attribution Share Alike 4.0 International
1.11k stars 56 forks source link

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

Open sgerardiello opened 4 years ago

sgerardiello commented 4 years ago

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)

gliptak commented 4 years ago

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html is not listed as supported