To add a stack instance to a stack group, you must specify the execution account and region. A stack instance can belong to only one stack group.

Prerequisites

A stack group is created. For more information, see Create a stack group.

Background information

To add a stack to a stack group, you must first create a stack instance in the stack group, and then create the stack in the specified target account and region. Each stack instance corresponds to a stack.

Procedure

  1. Log on to the ROS console.
  2. In the left-side navigation pane, click Stack Groups.
  3. In the upper-left corner, select the region where your stack group resides from the drop-down list.
  4. On the Stack Groups page, click the 1 icon in the Actions column corresponding to the stack group, and then select Add Stack to Stack Group.
  5. In the Set Deployment Options step of the Add Stack to Stack Group wizard, set Accounts, Regions, Maximum Number of Concurrent Accounts, and Fault Tolerance, and then click Next.
    For more information about how to specify Maximum Number of Concurrent Accounts and Fault Tolerance, see Stack group deployment options.
  6. In the Specify Override Settings step of the Add Stack to Stack Group wizard, select whether to override the parameter values, and click Next.
    When you add a stack to a stack group, you can redefine the parameter values in the template. After the stack is added to the stack group, go to the Stacks page. Click the stack ID in the Stack Name column. On the stack management page, click the Parameters tab to view the redefined parameter values.
  7. In the Check and Confirm step of the Add Stack to Stack Group wizard, click Add.
  8. Optional. View the stack instance.
    1. On the Stack Groups page, click the stack group name.
    2. On the stack group management page, click the Instances tab.

      You can view the account, region, ID, and status of the stack instance.

      After the stack instance is added, Expired is displayed in the Instance Status column because the stack is being created. After the stack is created, Latest is displayed in the Instance Status column. On the Stacks page, you can view the stack creation status.