Organisation level tag policies are not enforcing tags while creating resources

0

I have created tagging policies under AWS organisation created two tags and attached the policy to the account. and i configured to enforce the tags of ec2 instance ec2 volume,s3. when i created EC2 instance its got created it didn't enforce to create the two tags which i defined in tagging policy.

How to make the tags mandatory when resources are getting created please advice.

keyanke
질문됨 7달 전118회 조회
1개 답변
0

Tag policies are a type of policy that assist with standardizing tags across your AWS account or organization. For example, if you create a tag policy enforcing the use of a tag key, this policy will only take effect if the tag is used. If the tag key is not passed it the request, the request will succeed.

To make tags mandatory, create an SCP to require tags when anyone creates new resources [1]. For an example, see Require a tag on specified created resources.

[1] https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-getting-started.html#getting-started-more-advanced

AWS
arrudm
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠