After you create a tag policy, you must attach the tag policy to an object. This way, you can manage the tags that are added to the resources in the object.

Single-account mode

  1. Log on to the Resource Management console.
  2. In the left-side navigation pane, choose Tag Policy > Policy Library.
  3. On the Policy Library page, find the tag policy that you want to attach and click Attach in the Actions column.
  4. In the Attach message, click OK.
    The tag policy is attached to the Alibaba Cloud account that you use for logon.

Multi-account mode

  1. Log on to the Resource Management console.
  2. In the left-side navigation pane, choose Tag Policy > Policy Library.
  3. On the Policy Library page, click the All Tag Policies tab.
  4. Find the tag policy that you want to attach and click Attach in the Actions column.
  5. In the Attach dialog box, select the objects to which you want to attach the tag policy and click OK.
    The effective scope of the tag policy varies based on the object type.
    • Root folder: If you attach the tag policy to the Root folder, the tag policy takes effect for all members in the resource directory.
    • Specific folder: If you attach the tag policy to a specific folder, the tag policy takes effect only for all members in the folder.
    • Specific member: If you attach the tag policy to a specific member, the tag policy takes effect only for the member.
    Note You cannot attach tag policies to the management account of a resource directory. Tag policies do not take effect for management accounts.