This topic describes how to use an Operation Orchestration Service (OOS) custom template to modify a tag value of multiple resources in the same region at a time.
Prerequisites
A tag is added to your Elastic Compute Service (ECS) instances. For more information, see Add a custom tag.
Background information
In this topic, a custom template is created in OOS to modify a tag value of multiple
ECS instances at a time. In this example, a tag value of the ECS instances is changed
from OldTagValue to NewTagValue. The related tag key-value pair is changed from
TagKey:OldTagValue
to TagKey:NewTagValue
.
Note
- You can use an OOS custom template to modify a tag value for a maximum of 1,000 resources at a time. If the number of resources is greater than 1,000, you must execute the template multiple times.
- You can use an OOS custom template to modify the tag values of resources that support tags in the same region. You can modify the related API operations in the template to apply them to various resources. For more information about resources that support tags, see Alibaba Cloud services that support tags. For more information about the resources that are supported by OOS, see List of supported cloud services.
Step 1: Create an OOS custom template
You can perform the following steps to create an OOS custom template that is used to modify a tag value of multiple resources at a time.
Step 2: Execute the custom template
You can perform the following steps to execute the template created in Step 1: Create an OOS custom template to modify a tag value of multiple resources.