Delete unused change sets to prevent accidental execution and unintended stack changes. ROS retains all change sets until you update a stack or delete them.
Prerequisites
You have created a change set. Update a stack by using a change set.
Supported methods
-
Console: Delete a change set in the ROS console.
-
API: Call the DeleteChangeSet operation to delete a change set.
-
Alibaba Cloud CLI: Delete a change set by running a command.
Delete a change set using the console
-
Log on to the ROS console.
-
In the left-side navigation pane, click Stacks.
-
On the Stacks page, click the ID of the target stack.
-
On the stack details page, click the Change Sets tab.
-
On the Change Sets tab, find the target change set and click Remove in the Actions column.
-
In the dialog box, click OK.
Delete a change set using Alibaba Cloud CLI
Install the Alibaba Cloud CLI.
For more information, see Install Alibaba Cloud CLI.
Configure Alibaba Cloud credentials.
For more information, see Configure credentials.
-
Delete the change set.
Run the aliyun ros DeleteChangeSet command. You must specify the change set ID and region ID. DeleteChangeSet.
aliyun ros DeleteChangeSet --ChangeSetId <change_set_id> --RegionId <region_id>