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
feita há 7 meses118 visualizações
1 Resposta
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 há um mês
profile picture
ESPECIALISTA
avaliado há um mês

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas