简体   繁体   中英

How to set EC2 tags on AWS Opsworks

I've been using various community cookbooks to set up a stack.

I'm aware that AWS Opsworks sets some tags for you (stack name, layar name), but I need to set some tags myself.

There doesn't appear to be a way to set them through the Opsworks API, so I'll assume I need to use a cookbook/recipe to set them somehow.

Is there an existing method/cookbook to do so, or do I need to go and learn chef?

The LWRP listed on : https://github.com/opscode-cookbooks/aws - works. It will help you add in recipe the tags required for specific instances. The LWRP is : aws_resource_tag

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM