Viewing effective tag policies
Before you start checking compliance status for tagged resources in an account, it's helpful to first determine the effective tag policy for an account.
What is the effective tag policy?
The effective tag policy specifies the tagging rules that apply to an account. It is the aggregation of any tag policies the account inherits, plus any tag policy directly attached to the account. When you attach a tag policy to the organization root, it applies to all accounts in your organization. When you attach a tag policy to an OU, it applies to all accounts and OUs that belong to the OU.
For example, the tag policy attached to the organization root may define a
CostCenter
tag with four compliant values. A separate tag policy
attached to the account may restrict the CostCenter
key to only two of the
four compliant values. The combination of these tag policies comprises the effective tag
policy. The result is that only two of the four compliant tag values defined in the
organization root tag policy are compliant for the account.
For more information and more advanced examples of how effective tag policies are generated, see Understanding policy inheritance.
How to view the effective tag policy
You can view the effective tag policy for an account from the AWS Management Console, AWS API, or AWS Command Line Interface.
Minimum permissions
To view the effective tag policy for an account, you must have permission to run the following actions:
-
organizations:DescribeEffectivePolicy
-
organizations:DescribeOrganization