Attach a tag policy to a target account to enforce tagging standards on resources in that account.
Single-account mode
-
Log on to the Resource Management console.
-
In the navigation pane on the left, choose .
-
On the Policy Library page, click the Current Account tab.
NoteIf you have not enabled tag policies for your resource directory, skip this step.
-
For the tag policy you want to attach, click Attach in the Actions column.
-
In the Add dialog box, click Attach.
The tag policy is attached to your current Alibaba Cloud account.
Resource directory mode
-
Log on to the Resource Management console.
-
In the left navigation bar, select .
-
On the Policy Library page, click the Resource Directory tab.
-
For the tag policy you want to attach, click Attach in the Actions column.
-
In the Add dialog box, select a target and then click Add.
The effective scope of the policy depends on the selected target:
-
Root folder: The tag policy applies to all members in the resource directory.
-
Specific folder: The tag policy applies only to members in the selected folder.
-
Specific member: The tag policy applies only to the selected member.
NoteYou cannot attach a tag policy for a resource directory to the management account. To apply a tag policy to the management account, use the single-account mode instead.
-