简体   繁体   中英

If I add tags to a deployed pipeline (AWS CodePipeline) will the resources deployed through that pipeline inherit those tags?

I am trying to code this using BOTO3 but not sure if the tags will be propagated to the resources. I read the AWS documentation and it doesn't appear to mention anything of the sort.

The only information I found on AWS states that, "Applying a tag to a pipeline also propagates the tags to its underlying resources (for example, Amazon EMR clusters and Amazon EC2 instances)" - but this information is under Data Pipeline which I think is different to a code pipeline.

I don't believe tags are added to the resources within aws-codepipeline unless explicitily stated.

See example 1 & 2 in this doc: https://docs.aws.amazon.com/codepipeline/latest/userguide/tag-based-access-control.html

"Resource": "*" means any resource created when the codepipeline is created. If you are wanting to create IAM policies based on tags the examples in there should help you.

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