我试图理解CloudFormation在将标记应用于它创建的资源方面的行为。
根据他们的文档- https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
In addition to any tags you define, AWS CloudFormation automatically creates the following stack-level tags with the prefix aws::
aws:cloudformation:logical-id
aws:cloudformation:stack-id
aws:cloudformation:stack-name我从DynamoDB创建了一个CloudFormation表,访问了DynamoDB控制台,并选择了tags选项卡,找不到添加的任何特定标记。我也没有找到要添加的aws:cloudformation:logical:id标记。
然后,我尝试使用S3创建一个CloudFormation桶。这似乎是可行的,我访问了S3控制台,并找到了S3桶的aws:cloudformation:logical标记。
这是某种不一致吗?有什么特定的文档可以帮助我找到CloudFormation应用于其中的AWS资源列表,如文档中提到的那样,标记以aws:为前缀吗?
任何帮助都将不胜感激。谢谢!
发布于 2019-08-02 06:30:58
我最近不得不联系AWS企业支持部门
通常请求的服务没有从云形成中接收标记,包括
有一个内部特性请求是打开的,但是他们建议的操作只是手动标记资源。
发布于 2018-12-30 10:45:11
aws cloudformation create-stack --stack-name Name-of-your-stack --template-body file://your_template.json --tags Key=Name,Value=Your_Tag_Value --profile default --region region --capabilities CAPABILITY_NAMED_IAM。--capabilities CAPABILITY_NAMED_IAM。https://stackoverflow.com/questions/52391227
复制相似问题