Diego Carrillo
Diego Carrillo

Reputation: 11

Is there a way to add tags in the cloudformation templates to apply on resources and nested stacks?

When creating a stack that also creates nested stacks, I need to input the tags for all my resources created manually, I would like to include this tags directly on my template and having this applied the same way is applied when I add this manually, is there a way to do this?

I have read that the child stacks are not affected by the tags on CF templates.

Upvotes: 1

Views: 2558

Answers (1)

Udara Jayawardana
Udara Jayawardana

Reputation: 1148

To elaborate more, AWS documentation states

All stack-level tags, including automatically created tags, are propagated to resources that AWS CloudFormation supports. Currently, tags are not propagated to Amazon EBS volumes that are created from block device mappings.

Follow the example stated in the question.

Upvotes: 1

Related Questions