I would like to add tags to all resources for an existing application, e.g. something equivalent to copilot app init --resource-tags department=MyDept,team=MyTeam

Is this possible?


You can use AWS Tag Editor (https://docs.aws.amazon.com/tag-editor/latest/userguide/what-is.html) to filter and manually tag the AWS resources that can be tagged. This is potentially a fairly large undertaking, depending on the number of existing resources in the account. I'll keep digging around to see if there's another way.

In the meantime, you can use the --resource-tags when you run copilot svc deploy and copilot job deploy to tag those resources, but that won't retroactively tag the resources created when you first created the app.

© 2022 pullanswer.com - All rights reserved.