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
preguntada hace 7 meses118 visualizaciones
1 Respuesta
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
respondido hace un mes
profile picture
EXPERTO
revisado hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas