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.1k stars 54 forks source link

AWS::CodeBuild::Project - Tags #203

Open kalrish opened 4 years ago

kalrish commented 4 years ago

1. Title

AWS::CodeBuild::Project resources should inherit the stack tags, i.e. the tags of the CloudFormation stack that the resource belongs to.

2. Scope of request

AWS::CodeBuild::Project already supports tagging. By default it should inherit the tags of the CloudFormation stack it belongs to, unless tags are explicitly specified.

3. Expected behavior

If the Tags property is not specified for an AWS::CodeBuild::Project resource, the CodeBuild project should get the same tags as the CloudFormation stack.

4. Suggest specific test cases

Create a stack with an AWS::CodeBuild::Project, specifying some tags in the CreateStack call. The CodeBuild project should get the same tags as the stack.

5. Helpful Links to speed up research and evaluation

It would be great if it worked like many other resource types which by default inherit the stack tags.

6. Category

Developer Tools

r-heimann commented 5 months ago

Hi @kddejong, AWS::CodeBuild::Project supports (tested in eu-central-1)

can you close this issue?

ramakanth1997 commented 5 months ago

Hi @kddejong, AWS::CodeBuild::Project supports (tested in eu-central-1)

  • Tags property
  • Stack-Level Tags
  • CloudFormation Default Tags aws:cloudformation:*

can you close this issue?

Can I get the Template for stack level tags ?

r-heimann commented 5 months ago

Hi @kddejong, AWS::CodeBuild::Project supports (tested in eu-central-1)

  • Tags property
  • Stack-Level Tags
  • CloudFormation Default Tags aws:cloudformation:*

can you close this issue?

Can I get the Template for stack level tags ?

You can create a AWS::CodeBuild::Project and add Stack-Level Tags to the Stack. It will automatically apply the Stack-Level Tags to all Resources created in the CloudFormation Stack: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html