How can AWS Organizations tag policies help enforce consistent tagging standards across every account in an organization?
Short answer
AWS Organizations tag policies let you define rules specifying required tag keys, allowed tag values, and case sensitivity requirements that apply automatically across every account within the organization or a specific organizational unit, and resources that do not comply with…
Advertisement
AModel answer
AWS Organizations tag policies let you define rules specifying required tag keys, allowed tag values, and case sensitivity requirements that apply automatically across every account within the organization or a specific organizational unit, and resources that do not comply with the defined tag policy are flagged as non compliant, giving organizations a way to actively enforce consistent tagging standards rather than relying purely on documentation and voluntary compliance from individual teams.
Example
aws organizations create-policy --content file://tag-policy.json --type TAG_POLICY --name RequiredTagsPolicy
Real-world example
A large enterprise enforces a tag policy across its entire AWS Organization requiring every EC2 instance to have both an Environment and CostCenter tag with a specific set of allowed values, automatically flagging any newly created instance that does not meet this requirement.
Likely follow-ups
- What happens to a resource that violates a tag policy, is it automatically blocked from being created?
- How do you monitor overall tag compliance across an entire organization?
Related topics