2
votes

Want to set stack-level tags in cloud formation directly not the resource level tag. I know its doable with wrapper template concept but want directly set the stack-level tags when defining some resources using cloud formation.

1
Not sure what do you mean, but you set stack-level tags using CLI or AWS console when you deploy your template.Marcin
AWS console only or via jenkinsSuvankar Bhattacharya

1 Answers

2
votes

The stack-level tags are set using CLI, SDK or Console when you deploy your template. It should work regardless of whether you use or not use Jenkins, as jenkis will also have to use CLI or SDK (depening on your setup).

The stack-level tags:

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.

Hope this helps.

p.s. You can't set them from inside the template, as they are set when you deploy it.