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
posta 7 mesi fa118 visualizzazioni
1 Risposta
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
con risposta un mese fa
profile picture
ESPERTO
verificato un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande