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
demandé il y a 7 mois118 vues
1 réponse
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
répondu il y a un mois
profile picture
EXPERT
vérifié il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions