If you want to change the template of your stack or modify template parameters, you update the stack. This topic describes how to update a stack in the Resource Orchestration Service (ROS) console.
|CREATE_COMPLETE||The stack is created.|
|UPDATE_FAILED||The stack fails to be updated|
|UPDATE_COMPLETE||The stack is updated.|
|ROLLBACK_COMPLETE||The stack is rolled back.|
|ROLLBACK_FAILED||The stack fails to be rolled back|
|IMPORT_CREATE_COMPLETE||The stack is created by importing resources.|
|IMPORT_UPDATE_COMPLETE||The stack is updated by importing resources.|
|IMPORT_UPDATE_FAILED||The stack fails to be updated by importing resources.|
|IMPORT_UPDATE_ROLLBACK_COMPLETE||The stack fails to be updated by importing resources and is rolled back.|
|IMPORT_UPDATE_ROLLBACK_FAILED||The stack fails to be updated by importing resources and fails to be rolled back.|
|CHECK_FAILED||The stack fails to be verified.|
|CHECK_COMPLETE||The stack is verified.|
- Log on to the ROS console.
- In the left-side navigation pane, click Stacks.
- In the upper-left corner, select the region where the stack that you want to update resides from the drop-down list.
- On the Stacks page, find the stack that you want to update, and click Update in the Actions column.
- In the Configure Template Parameters step, follow the on-screen instructions to configure the parameters. Note If you want to change the template of your stack, click Previous to go to the Select Template step. Then, select Replace Current Template in the Prepare Template section. After you change the template, click Next to go to the Configure Template Parameters step. Then, follow the on-screen instructions to configure the parameters.
- Optional:Click Next to go to the Configure Stack step. Follow the on-screen instructions to configure Stack Policy, Timeout Period, RAM Role, Whether to enable replacement update, and Tags. Note
- If you want to configure a stack policy, you can select Input Stack Policy. This policy takes effect even if you do not configure the stack policy the next time you update the stack. Alternatively, you can select Optional. Specify a temporary stack policy in JSON or YAML format. This policy does not take effect the next time you update the stack.
- The stack policy must be a file that is in JSON or YAML format. For more information, see Stack policies.
- Optional:Click Next to go to the Check and Confirm step. Check and confirm your configurations.
- Click Confirm.