# Managing Stack Sets

LLMS index: [llms.txt](https://docs.e.samsungsdscloud.com/en/userguide/management/llms.txt)

---

Users can deploy the same infrastructure to multiple accounts and regions using a stack set with a single template.

# Create a stack set {#create}

You can create a stack set to deploy to multiple accounts and regions.

> **Caution**: After creating a stack set, you cannot change the permission model or the stack set name. Determine the deployment target and permission management method before creating.

> **Reference**: To select the Self Managed permission, you must first create the **SCPInfrastructureBuilderStackSetAdministrationRole** role in the administrator Account and the **SCPInfrastructureBuilderStackSetExecutionRole** role in each target Account. For more details, refer to [스택 세트](/en/userguide/management/infrastructure_builder/overview/stack_set/#self-managed).

To create a stack set, follow these steps.

1. **All Services > Management > Infrastructure Builder** Click the menu. **Service Home** navigate to the page.
2. **Service Home** page, click the **Stack Set > Stack Set List** menu. Navigate to the **Stack Set List** page.
3. On the **Stack Set List** page, click the **Create Stack Set** button. Navigate to the **Create Stack Set** page.
4. In the **Service Information Input** step, after entering the stack set information, click the **Next** button.

| Category | Detailed description |
|---------|--------|
| Stack set name | Enter a name to identify the stack set<ul><li>Enter using letters, numbers, and the special character (-) with a length of 1-128 characters</li></ul><ul><li>If the name is already registered, an error "The stack name is already registered." is displayed</li></ul><ul><li>Cannot be changed after creation</li></ul> |
| Permission model | Select the permission model to use when deploying to the target Account<ul><li>**Service Managed** (default): automatically configures the permissions required to deploy to Accounts managed by the Organization, and can enable automatic deployment to Accounts within the organization</li></ul><ul><li>**Self Managed**: deploys to individual Accounts and allows you to specify IAM roles directly</li></ul><ul><li>Cannot be changed after creation</li></ul> |
| IAM administrator role | When **Self Managed** is selected, required selection.<ul><li>Select the IAM role that Infrastructure Builder will use for all tasks performed in the stack set.</li></ul><ul><li>You cannot proceed to the next step unless selected.</li></ul><ul><li>To create a stack set as Self Managed, you must first create an admin role, and you can create the required role by referring to the [Sample Template](/en/userguide/management/infrastructure_builder/sample_template/iam/).</li></ul><ul><li>Refresh icon: reflects the newly created IAM role in the list.</li></ul> |
| IAM execution role | **Self Managed** when selected, required input<ul><li>Enter the name of the role that exists in the target Account for deployment (up to 64 characters)</li></ul><ul><li>If the input does not meet the conditions, an error "Input does not meet the conditions." is displayed</li></ul> |
| Prepare template | Specify the template to be used by the stack set<ul><li>**Use My Template** (default): Specify a template you prepared directly via **Object Storage URL** or **File Selection**. Refer to the **Service Information Input** step of [Create Stack](/en/userguide/management/infrastructure_builder/how_to_guides/#create)</li></ul><ul><li>**Use Sample Template**: Select a template from the **Sample Template** list (required). When selected, the **View Sample Template** button becomes active, allowing you to view the contents in a popup</li></ul> |
| Explanation | Enter a description for the stack set (up to 50 characters) |
| tag | Enter tags to add to the stack set (up to 50) |

_Table. Stack Set service information input items_

> **Info**
>
> * If the account is a regular account within the organization or an account not belonging to the organization, the **Service Managed** option is disabled, and a message appears stating, "Service Managed can be selected only for organization administrators or delegated administrator accounts."
> * All required fields must be entered before the **Next** button is enabled, and clicking it validates the template. If verification fails, an error is displayed and you cannot proceed to the next step.
5. In the **Parameter Settings** step, enter the values of the parameters defined in the template, then click the **Next** button.
    * Parameter input types and validation are the same as the **Parameter Settings** step of [스택 생성하기](/en/userguide/management/infrastructure_builder/how_to_guides/#create).
    * If the template includes a configuration that creates IAM resources, **Approve to allow the Infrastructure Builder to create IAM resources.** You must select the item for the **Next** button to become active.
6. In the **Deployment Options Configuration** step, set the deployment target and deployment method, then click the **Next** button.

| Category | Detailed description |
|---------|--------|
| Add a stack to the stack set | Select method to add stack<ul><li>**New stack deployment**(default): Deploy a new stack using the selected template</li></ul><ul><li>**Import stack as stack set**: Import an existing stack that was individually created in the account into a stack set, converting it to a unified management target. Enter the **stack SRN**, and you can add up to 10 using the **Add stack SRN** button, with at least one required</li></ul><ul><li>If you select **Import stack as stack set**, you do not enter **deployment target** or **region specification**</li></ul> |
| Deployment target | When **New Stack Deployment** is selected, specify the deployment target for the stack<ul><li>**Service Managed**: **Deploy to organization**(default) or **Deploy to organizational unit**(enter up to 50 organizational unit IDs)</li></ul><ul><li>**Self Managed**: **Deploy stack to Account**(default, enter up to 50 Account IDs) or **Deploy stack to all Accounts in an organizational unit**(enter one organizational unit ID)</li></ul><ul><li>Accounts not belonging to an organization can only select **Deploy stack to Account**, and **Deploy stack to all Accounts in an organizational unit** cannot be selected</li></ul> |
| Specify region | When **New Stack Deployment** is selected, select the regions to deploy the stack (required, at least one)<ul><li>They are deployed in the specified order, and the order can be adjusted with the up/down move icons</li></ul><ul><li>**Add**: Add a region selection item, **Add All Regions**: Select all regions, **Remove All Regions**: Remove all selected regions</li></ul><ul><li>Regions already selected cannot be chosen from the list of other items</li></ul> |
| Automatic Deployment Policy | Displayed only when **Service Managed**. If you select **Use**, a stack instance is automatically deployed when an Account is added to the organizational unit<ul><li> **Account removal action**: Choose how to handle when an Account is removed from the target organizational unit</li></ul><ul><li> **Stack deletion** (default): Delete the stack instance for that Account</li></ul><ul><li> **Stack retention**: Retain the stack instance for that Account</li></ul> |
| Maximum concurrent processing | Enter the number of Accounts per region for simultaneous stack deployment<ul><li>**Account count**(default) or specify as **percentage**, and an empty value is also allowed</li></ul><ul><li>The number of Accounts must be an integer of 1 or greater, and the percentage must be an integer between 1 and 100</li></ul><ul><li>Larger values result in faster operation speed</li></ul> |
| fault tolerance | Enter the per-region Account count that may fail deployment before the operation is halted<ul><li>**Account count**(default) or **percentage** can be specified, and an empty value is also allowed</li></ul><ul><li>Account count must be an integer greater than or equal to 0, and percentage must be an integer between 0 and 100</li></ul><ul><li>If the operation stops in one region, it will not continue in other regions</li></ul><ul><li>The lower the value, the safer</li></ul> |
| Concurrent region deployment | Select region handling method (required)<ul><li>**Sequential deployment**(default): Deploy to one region at a time</li></ul><ul><li>**Parallel deployment**: Deploy to all specified regions simultaneously</li></ul> |
| Concurrent execution mode | Select concurrency mode during job execution (required)<ul><li>**Strict fault tolerance**(default): Dynamically lower the concurrency level so that the number of failed Accounts does not exceed fault tolerance+1</li></ul><ul><li>**Fault tolerance**: Always execute at the specified concurrency level</li></ul> |

_Table. Stack Set Deployment Option Configuration Items_

> **Notice**: If the organizational affiliation changes between the selection time and the creation time, such as when an account becomes part of an organization while creating a stack set, an error may occur when clicking the **Create** button at the **Check Input Information** stage. At this point, the error details are shown in the flash bar.
7. In the **Check Input Information** stage, after verifying the information set in each step, click the **Generate** button. The stack set is created, and deployment to the target account and region begins.
    * The information entered during the service information input, parameter setting, and deployment option configuration stages is displayed step by step.
    * Tags, parameters, stack SRN, Account ID, and region are displayed in a table, showing 10 items per page and providing pagination.
    * To edit the content, click the **Previous** button to go to that step.

> **Reference**: Instead of deploying to all Accounts at once, setting the maximum concurrency and fault tolerance low can limit the impact scope when an issue occurs in some Accounts.

# View Stack Set List {#list}

You can view the list of created stack sets.
To view the stack set list, follow these steps.

1. **All Services > Management > Infrastructure Builder** menu, click it. Navigate to the **Service Home** page.
2. On the **Service Home** page, click the **Stack Set > Stack Set List** menu. Navigate to the **Stack Set List** page.
3. **Stack Set List** page, view the list of stack sets.

| Category | Detailed description |
|---------|--------|
| Stack set name | Name of the stack set<ul><li>Click the stack set name to view detailed information of that stack set</li></ul><ul><li>The default sort order is ascending, and you can click to change the sort direction</li></ul> |
| Permission model | Service Managed or Self Managed |
| drift state | Drift status of a stack set (In Sync, Drifted, Not Checked) |
| Drift check time | The date and time when drift detection was last run |
| Status | Status of the stack set (Active, Deleted) |

_Table. Stack set list items_

    * The total number of stack sets is displayed at the top of the list, and the number of items per page can be selected as 10, 20, etc. (default is 20).
    * The stack set ID can be displayed additionally in the column settings.
    * The list is provided as a single list without separating by tabs, and can be distinguished by **authorization model** (Service Managed, Self Managed).
4. Search the list or retrieve items that meet the criteria.

| Category | Detailed description |
|---------|--------|
| search | Search by stack set name (case-insensitive, retrieve names containing the entered characters) |
| Detailed Search | Specify stack set name, permission model, drift status, drift check timestamp, and status as conditions<ul><li>Permission model, drift status, and status can be selected multiple</li></ul><ul><li>Drift check timestamp is set to a period using a date picker</li></ul> |
| Status filter | List by stack set status<ul><li>Select **Active** or **Deleted** (default is Active)</li></ul><ul><li>When detailed search is applied, it is disabled, and resetting detailed search returns to the default</li></ul> |

_Table. Stack set list query items_


You can perform the following actions from the stack set’s more (⋮) menu. All menus can be selected only from a stack set that is **Active**, and if a menu cannot be selected, a tooltip appears when you hover the mouse.


| Menu | Explanation |
|---------|--------|
| Delete stack set | Delete stack set |
| Drift detection | Detect drift of a stack set |
| Add stack | Deploy a stack instance to a new account or region, or import an existing stack. |
| Modify stack set | Modify the template, parameters, description, and tags of a stack set, deploy them to a stack instance, and you can also add a stack instance. |
| Parameter redefinition | Specify the parameter values of a specific stack instance differently from those in the stack set. |
| Delete a stack from a stack set | Delete a stack instance or detach it from a stack set |

_Table. Stack set list more menu_


> **Reference**
>
> * You can view stack sets that have been deleted by selecting **Deleted** in the status filter.
> * Click the **Create Stack Set** button to create a stack set. For more details, refer to [Create a Stack Set](#create).

Operations that modify stack instances belonging to a stack set are categorized as follows.


| Task | When using | Applicable target | Result |
|---------|--------|--------|--------|
| [Add Stack](#add-stack) | When deploying a stack set to a new account or region, or importing an individually created stack into a stack set. | Newly added stack instance<ul><li>can select all regions</li></ul> | Stack instances increase<ul><li>You can specify a different parameter value for the added stack instance</li></ul> |
| [Update Stack Set](#update) | When changing the template, parameters, description, and tags to modify the configuration of the entire stack set. | Stack instances of the specified Account and region<ul><li>Only regions already deployed in the stack set can be selected</li></ul> | The stack set's configuration changes, and the changes are deployed to the specified stack instances<ul><li>When **Deploy new stack** is selected, a new stack is deployed to targets without a stack instance, and when **Import stack with stack set** is selected, an existing stack is imported, increasing the number of stack instances</li></ul><ul><li>Stack instances with overridden parameters retain the overridden values</li></ul> |
| [Parameter Override](#override) | When operating only the stack instances of a specific account or region with different parameter values. | Existing stack instances of the specified Account and region<ul><li>Only regions already deployed in the stack set can be selected</li></ul> | The stack set configuration remains unchanged, and only the parameter values of the specified stack instance are changed. |
| [Delete stack from stack set](#delete-stack) | When you no longer manage a specific account or region with a stack set. | Existing stack instances of the specified Account and region<ul><li>Only regions already deployed in the stack set can be selected</li></ul> | Stack instance is reduced<ul><li>Using **Stack retention** only disconnects from the stack set while the stack and resources are retained</li></ul> |

_Table. Comparison of stack instance change operations_


# View stack set details {#detail}

You can view detailed information and deployment status of the stack set, and perform tasks such as drift detection or modifying the stack set.
**Stack Set Details** page consists of **Details**, **Stack Instances**, **Job Requests**, **Parameters**, **Template** tabs.

To view detailed information about a stack set, follow these steps.

1. Click the **All Services > Management > Infrastructure Builder** menu. Navigate to the **Service Home** page.
2. On the **Service Home** page, click the **Stack Set > Stack Set List** menu. Navigate to the **Stack Set List** page.
3. **Stack Set List** page, click the stack set to view its details. Navigate to the **Stack Set Details** page.
    * **Stack Set Details** page header displays the stack set's status, drift status, and additional feature buttons, and you can select tabs to view information.

| Category | Detailed description |
|---------|--------|
| Stack set status | Current status of the stack set (Active, Deleted) |
| Drift detection | Start drift detection for the stack set<ul><li>Available only in **Active** state</li></ul><ul><li>When clicked, a confirmation popup asking "Do you want to detect drift for [resource name]?" opens, and clicking **Confirm** displays the message "Drift detection has started."</li></ul><ul><li>For more details, see [스택 세트 드리프트 감지하기](/en/userguide/management/infrastructure_builder/how_to_guides/drift/#stack-set-detect)</li></ul> |
| More | **Add Stack**, **Edit Stack Set**, **Redefine Parameter**, **Delete Stack from Stack Set**<ul><li>Can be used only when in **Active** state</li></ul><ul><li>If it cannot be used, hovering will display a guide</li></ul> |
| Delete stack set | Delete stack set<ul><li>Can be used only in **Active** state</li></ul><ul><li>When clicked, a popup opens to confirm the stack set name, and clicking **Confirm** navigates to the list screen and displays the message "Stack set deletion request has been completed."</li></ul><ul><li>Deletion may take several minutes depending on the size</li></ul> |
| drift state | Drift status of the stack set<ul><li>**Drifted**: One or more resources are drifted</li></ul><ul><li>**In Sync**: The actual configuration of the stack set matches the expected configuration</li></ul><ul><li>**Not Checked**: Drift check not performed</li></ul><ul><li>**Unknown**: Unable to perform drift check</li></ul><ul><li>For all states except Not Checked, the timestamp of the last drift check is displayed, and hovering over the timestamp shows a "Drift time" tooltip</li></ul> |

_Table. Stack set status information and additional functions_


## Detailed information {#information}

You can view the stack set's basic information, deployment targets, automatic deployment policies, and tags.


| Category | Detailed description |
|---------|--------|
| service | Service name |
| Resource Type | Resource Type |
| SRN | Unique resource ID in Samsung Cloud Platform |
| Resource name | Resource name |
| Resource ID | Unique resource ID in the service |
| Creator / Creation DateTime | User who created the stack set and creation timestamp |
| Editor / Modification Date and Time | User who last modified the stack set and the modification timestamp |
| Stack set name / Stack set ID | The name and unique ID of the stack set |
| Permission model | Service Managed or Self Managed |
| Drift status / Drift check time | Drift status of the stack set and the timestamp of the last drift check |
| Explanation | Description of the stack set |
| Deployment target | List of organization unit (OU) IDs for stack deployment<ul><li>displayed only when you have **Service Managed** permission</li></ul><ul><li>The total count is displayed, and you can view 10 at a time and search for organization unit IDs</li></ul> |
| Automatic Deployment Policy | Whether to automatically deploy when an Account is added to an organizational unit (enabled/disabled)<ul><li>only displayed when you have **Service Managed** permission</li></ul><ul><li>Click the **Edit** icon to change the setting</li></ul><ul><li>When **Enabled**, the action taken when an Account is removed from the target organizational unit (stack deletion/stack retention) and the automatic deployment targets (organizational unit ID, region) are displayed together</li></ul> |
| tag | List of tags (Key, Value) set in the stack set<ul><li>The total count is displayed, and you can view and search in increments of 10</li></ul> |

_Table. Stack set detailed information tab items_


> **Reference**: In a stack set with **Self Managed** permissions, **deployment targets** and **auto-deployment policy** are not displayed, but tags are displayed.

To modify the automatic deployment policy in a Service Managed permission stack set, follow the steps below.

1. **Stack Set Details** page's **Details** tab, click the **Edit** icon of the **Automatic Deployment Policy**. **Edit Automatic Deployment Policy** The popup opens.
2. Select or deselect **Use**.
    * If you select **Use**, the **Account removal action** is displayed, and you can choose between **Stack deletion** (default) or **Stack retention**.
3. Click the **Confirm** button. Would you like to modify the automatic deployment policy? A confirmation popup will open.
4. Click the **Confirm** button. The automatic deployment policy will be changed.

## Stack instance {#instance}

You can view the stack instances created by the stack set for each deployment target. The total number of stack instances is also displayed in the tab name.


| Category | Detailed description |
|---------|--------|
| Account ID | Account ID where the stack instance is deployed<ul><li>Default sorting is ascending</li></ul> |
| Region | Region where the stack instance is deployed |
| Stack ID | ID of the deployed stack |
| Deployment status | Deployment status of the stack instance |
| Last request ID | ID of the last operation request performed on the stack instance |
| Status Reason | Cause of the deployment status |
| drift state | Drift status of the stack instance |
| Drift check time | Time when drift was detected |

_Table. Stack Instance Tab Items_


* To view details of a stack instance, log in to the stack instance’s account, navigate to the appropriate region, and select the stack.
* You can search by Account ID, region, and stack ID (case-insensitive). In **Detailed Search**, you can specify conditions using Account ID, region, stack ID, deployment status, drift status, and drift check timestamp.
* The last request ID, status reason, drift check timestamp, and similar items can be selected for display in the column settings.

Deployment statuses are distinguished by colors as follows.


| Deployment status | Explanation |
|---------|--------|
| Pending | The task has not yet started on this instance. |
| Running | Operation in progress on this instance |
| Succeeded | The operation succeeded on this instance. |
| Failed | The operation failed on this instance. |
| Import Failed | Failed to retrieve the stack for the instance |
| Cancelled | The task was stopped or exceeded the failure tolerance, so it was not executed on the instance and was cancelled. |
| Inoperable | The instance deletion operation failed, leaving the stack in an unstable state. |

_Table. Stack Instance Deployment Status_


## Work request {#operation}

You can view the history and status of work requests executed in the stack set. The total number of work requests is also displayed in the tab name.


| Category | Detailed description |
|---------|--------|
| Request ID | Unique ID of the job request |
| type | Operation Type<ul><li>**Create**, **Update**, **Delete**, **Detect Drift**</li></ul> |
| Task request status | Current job status<ul><li>**Queued**: Waiting</li></ul><ul><li>**Running**: In progress</li></ul><ul><li>**Stopping**: Stopping</li></ul><ul><li>**Stopped**: Stopped</li></ul><ul><li>**Succeeded**: Succeeded</li></ul><ul><li>**Failed**: Failed</li></ul> |
| Creation date and time | Date and time the work request was created |
| Completion Date/Time | Date and time the work request was completed |

_Table. Stack Set operation request tab items_


* You can search by request ID. In **Detailed Search**, you can specify conditions by request ID, type, status, creation time, and completion time.
* You can sort by creation date, and you can choose whether to display fields such as completion date in the column settings.

You can perform the following actions from the More (⋮) menu of the work request. If it is unavailable, a tooltip will appear when you hover the mouse.


| Menu | Explanation |
|---------|--------|
| Stack Instance Operation Result | Check processing results for each work request target<ul><li>Available in all states</li></ul><ul><li>Check request ID, total count, Account ID, region, deployment status, and status reason</li></ul><ul><li>Drift results for each stack instance can be viewed using the **View Resource Drift Results** button</li></ul> |
| Stack set drift information | Check the results of the drift detection job<ul><li>Available only when the job type is **Detect Drift**</li></ul> |
| Cancel request | Stop the ongoing task<ul><li>Can be used only when the job request status is **Running**</li></ul><ul><li>Clicking it opens a confirmation popup asking "Do you want to stop the job request?"</li></ul> |

_Table. Stack set operation request More menu_


To check the drift detection results, please refer to [Check Stack Set Drift Results](/en/userguide/management/infrastructure_builder/how_to_guides/drift/#stack-set-result).

## parameter {#parameter}

You can check the parameters passed to the stack set. The total number of parameters is also displayed in the tab name.


| Category | Detailed description |
|---------|--------|
| Key | Parameter key<ul><li>The default sort order is ascending</li></ul> |
| Value | Value passed to the stack set |
| Interpreted value | Interpret references, etc., to derive the final applied value |

_Table. Stack Set Parameter Tab Items_


You can search by Key and Value (case-insensitive). **Advanced Search** allows you to specify conditions using Key and Value.

## template {#template}

You can view the template code used to execute the stack set. When you click **Copy Code**, the template code is copied and the "Code has been copied." message is displayed.

# Redefining Stack Set Parameters {#override}

You can apply different stack set parameter values only to stack instances in specific accounts and regions.

The redefined parameter values are retained even if the stack set is modified later. To reapply the stack set's values to the stack instance, select **Set to Stack Set Value** when redefining the parameters.

To redefine the parameters of a stack set, follow these steps.

1. **All Services > Management > Infrastructure Builder** Click the menu. Navigate to the **Service Home** page.
2. On the **Service Home** page, click the **Stack Set > Stack Set List** menu. Navigate to the **Stack Set List** page.
3. On the **Stack Set List** page, click the stack set whose parameters you want to override. Navigate to the **Stack Set Details** page.
4. On the **Stack Set Details** page, click the **More > Parameter Override** menu. Navigate to the **Parameter Redefinition** page.
5. In the **Configure Deployment Options** step, after setting the target and deployment method for which to apply the override, click the **Next** button.

| Category | Detailed description |
|---------|--------|
| Deployment target | Specify the target to apply the redefined parameters<ul><li>**Service Managed**: **Deploy to organization**(default) or **Deploy to organizational unit**(enter organizational unit ID)</li></ul><ul><li>**Self Managed**: **Deploy stack to Account**(default) or **Deploy stack to all Accounts in the organizational unit**</li></ul><ul><li>When **Deploy stack to Account** is selected, you can enter up to 50 Account IDs, and you can add items with the **Add Account ID** button, with the remaining number of entries allowed displayed</li></ul><ul><li>An error occurs if you specify an Account that does not have a stack instance in the stack set</li></ul> |
| Specify region | Select regions to apply redefinition (required, at least one)<ul><li>The selectable regions are limited to those already deployed in the stack set</li></ul><ul><li>They are deployed in the specified order, and the order can be adjusted using the up/down move icons</li></ul><ul><li>**Add**: Add region selection item, **Add All Regions**: Select all regions, **Remove All Regions**: Remove all selected regions</li></ul> |
| Deployment Settings | Maximum concurrent processing, fault tolerance, regional concurrent deployment, concurrent execution mode setting<ul><li>The input items and validation are the same as the **Configure deployment options** step in [스택 세트 생성하기](#create)</li></ul> |

_Table. Parameter Override Deployment Option Configuration Items_

    * You must fill in all required fields for the **Next** button to become active, and clicking it validates the template. If verification fails, an error is displayed and you cannot proceed to the next step.
6. In the **Parameter Redefinition** step, select the parameter to be redefined, enter its value, and click the **Next** button.
    * The table displays the parameter's **Key**, **Stack Set Value**, **Override Value**. Key, stack set Value, redefined Value can be searched (case-insensitive).
    * Select the checkbox of the parameter to be redefined and click the **Parameter Re-definition** button. The parameter input fields defined in the template are displayed as a popup.
    * After entering a value, click the **Confirm** button to apply it to the **Redefine Value** of the selected parameter. You can leave the value empty.
    * After selecting a parameter, you can perform the following actions from the **More(⋮)** menu.

| Menu | Explanation |
|---------|--------|
| Set the stack set value | Change the **redefined Value** of the selected parameter to "Set to stack set Value" to use the stack set's value as is |
| Value initialization of redefinition | Reset the redefined value of the selected parameter by changing its **redefined Value** to "-". |

_Table. Parameter redefinition more menu_

    * Click the **Previous** button to go to the previous step. You can proceed without entering required values.
7. After reviewing the information set in the **Input Information Check** step, click the **Done** button. A parameter redefinition operation is requested and you are taken to the **Stack Set Details** page of that stack set.
    * The information entered in **Deployment Options Configuration** (deployment target, region specification, deployment settings) and **Parameter Override** (Key, Stack Set Value, Override Value) is displayed.
    * Account ID, region, and parameters are displayed in a table, with 10 items shown per page and pagination provided.
    * To edit the content, click the **Previous** button to go to that step.

# Add a stack to a stack set {#add-stack}

You can deploy a new stack to a generated stack set, or import an existing individually created stack and add it as a managed target of the stack set.

To add a stack to a stack set, follow these steps.

1. Click the **All Services > Management > Infrastructure Builder** menu. **Service Home** navigate to the page.
2. On the **Service Home** page, click the **Stack Set > Stack Set List** menu. Navigate to the **Stack Set List** page.
3. **Stack Set List** page, click the stack set to which you want to add a stack. Navigate to the **Stack Set Details** page.
4. On the **Stack Set Details** page, click the **More > Add Stack** menu. **Add Stack** Navigate to the page.
5. After setting the stack and deployment method to add in the **Configure Deployment Options** step, click the **Next** button.
    * The input items are the same as the **Configure deployment options** step of [스택 세트 생성하기](#create). The screen layout varies depending on the permission model (Service Managed, Self Managed).
    * In **Add stack to stack set**, select **New stack deployment**(default) or **Import stack into stack set**. When you select **Get stack with stack set**, you enter the **Stack SRN**, and you do not enter the **Region specification**.
    * **deployment target** varies according to the permission model.
        * **Service Managed**: Select **Deploy to organization** (default) or **Deploy to organization unit**. If you specify a higher-level organization unit, lower-level units are automatically included.
        * **Self Managed**: Choose **Deploy stack to an Account**(default) or **Deploy stack to all Accounts in the organization**. **Deploy stack to Account** requires entering up to 50 Account IDs, with at least one required, and **Deploy stack to all Accounts in an organization unit** requires entering one organization unit ID.
    * **Region selection** allows you to select all regions. You must specify at least one, and they will be deployed in the order specified.
    * All required fields must be entered for the **Next** button to become active, and clicking it validates the template. If verification fails, an error is displayed and you cannot proceed to the next step.
6. In the **Parameter Redefinition** step, after redefining the parameter values to be applied to the stack you want to add, click the **Next** button.
    * The input items and actions are the same as the **parameter override** step of [스택 세트 파라미터 재정의하기](#override).
7. After reviewing the information set in the **Input Information Confirmation** step, click the **Done** button. A stack addition operation is requested and you are taken to the **Stack Set Details** page of that stack set.
    * **Deployment option configuration**(Add stack to stack set, Stack SRN, Deployment target, Region specification, Deployment settings) and **Parameter redefinition**(Key, Stack Set Value, Redefined Value) display the entered information.
    * Stack SRN, region, and parameters are displayed in a table, showing 10 items per page and providing pagination.
    * To edit the content, click the **Previous** button to go to that step.

# Delete a stack from a stack set {#delete-stack}

You can delete a stack instance deployed to a stack set, or you can detach it from the stack set while retaining the stack and its resources.

To delete a stack from a stack set, follow these steps.

1. **All Services > Management > Infrastructure Builder** menu, click. Navigate to the **Service Home** page.
2. On the **Service Home** page, click the **Stack Set > Stack Set List** menu. Navigate to the **Stack Set List** page.
3. On the **Stack Set List** page, click the stack set to delete the stack. Navigate to the **Stack Set Details** page.
4. On the **Stack Set Details** page, click the **More > Delete Stack from Stack Set** menu. Navigate to the **Delete stack from stack set** page.
5. In the **Deployment option configuration** step, after setting the target to delete and the deletion method, click the **Next** button.

| Category | Detailed description |
|---------|--------|
| Deletion target | Specify the target for stack deletion (required), varies depending on the stack set's permission model<ul><li>**Service Managed**: Enter **Organization Unit ID**. You can enter up to 50 using the **Add Organization Unit ID** button</li></ul><ul><li>**Self Managed**: **Account to delete the stack** (enter up to 50 Account IDs) or **Delete stack from all accounts in the organization unit** (enter Organization Unit ID) select</li></ul> |
| Specify region | Select regions to delete the stack (required, at least one)<ul><li>Selectable regions are limited to those already deployed in the stack set</li></ul><ul><li>They are deleted in the specified order, and the order can be adjusted with the up/down move icons</li></ul><ul><li>**Add**: Add region selection item, **Add All Regions**: Select all regions, **Remove All Regions**: Remove all selected regions</li></ul> |
| Deployment Settings | Maximum concurrent processing, fault tolerance, regional concurrent deployment, concurrent execution mode setting<ul><li>The input items and validation are the same as the **Configure deployment options** step of [Create stack set](#create)</li></ul> |
| Stack storage | If you select **Use**, it only disconnects from the stack set, and the stack and the resources created by the stack are not deleted and remain unchanged<ul><li>If not selected (default), the stack and resources are deleted together</li></ul> |

_Table. Configuration items for stack deletion deployment options in a stack set_

    * All required fields must be entered for the **Next** button to be activated.
6. After reviewing the information set in the **Check Input Information** step, click the **Complete** button. A stack deletion operation is requested and you are taken to the **Stack Set Details** page of that stack set.
    * Deletion target, region designation, and deployment settings (including stack retention) are displayed.
    * The deletion targets and regions are displayed in a table, showing 10 items per page and providing pagination.
    * To edit the content, click the **Previous** button to go to that step.

# Edit Stack Set {#update}

You can modify the template, description, tags, and parameters of a stack set and deploy the changes to the target stack.

> **Caution**: The stack set name and permission model cannot be modified.

To modify the stack set, follow these steps.

1. **All Services > Management > Infrastructure Builder** Click the menu. Navigate to the **Service Home** page.
2. **Service Home** page, click the **Stack Set > Stack Set List** menu. Navigate to the **Stack Set List** page.
3. **Stack Set List** page, click the stack set you want to edit. Navigate to the **Stack Set Details** page.
4. On the **Stack Set Details** page, click the **More > Edit Stack Set** menu. Navigate to the **Edit Stack Set** page.
5. In the **Service Information Input** step, after editing the stack set information, click the **Next** button.

| Category | Detailed description |
|---------|--------|
| Stack set name | Cannot edit (read-only) |
| Template replacement | Choose whether to replace the template used for the stack set<ul><li>**Use existing template**: No additional input required</li></ul><ul><li>**Change template**: Select method for the new template (**Object Storage URL**, **File selection**) and enter template information</li></ul><ul><li>For template specification methods and validation, refer to the **Service Information Input** step in [Create Stack](/en/userguide/management/infrastructure_builder/how_to_guides/#create)</li></ul> |
| Explanation | Enter description for stack set (max 50 characters) |
| tag | Enter tags to add to the stack set (up to 50) |

_Table. Stack Set Modification Service Information Input Items_

    * All required fields must be entered for the **Next** button to become active, and clicking it validates the template. If verification fails, an error is displayed and you cannot proceed to the next step.
6. In the **Parameter Settings** step, after modifying the values of the parameters defined in the template, click the **Next** button.
    * Parameter input types and validation are the same as the **Parameter Settings** step of [스택 생성하기](/en/userguide/management/infrastructure_builder/how_to_guides/#create).
    * If the template includes a configuration that creates IAM resources, **Approve to allow the Infrastructure Builder to create IAM resources.** You must select the item for the **Next** button to become active.
    * In a stack instance where the parameter has been overridden, the overridden value is retained instead of the value modified here. For more details, please refer to [스택 세트 파라미터 재정의하기](#override).
7. In the **Deployment Options Configuration** step, after setting the target to apply changes and the deployment method, click the **Next** button.
    * The input fields are the same as the **Configure deployment options** step of [Add stack to stack set](#add-stack). The screen layout varies depending on the permission model (Service Managed, Self Managed).
    * In **Add stack to stack set**, select **New stack deployment** (default) or **Import stack into stack set**. When you select **Import stack with stack set**, you enter **Stack SRN**, and you do not enter **Region specification**.
    * When **New stack deployment** is selected, changes are applied to targets that already have a stack instance, and a new stack is deployed to targets without a stack instance. If you select **Import Stack as Stack Set**, it imports an existing stack and adds it as a stack instance.
    * Choose **Deployment target** as **Deploy to organization** or **Deploy at organization level** in **Service Managed**, or **Deploy stack to Account** or **Deploy stack to all Accounts in the organization unit** in **Self Managed**.
    * **Region selection** can only select regions that are already deployed in the stack set, and you must specify at least one. It will be deployed in the specified order.
    * All required items must be entered for the **Next** button to be activated.
8. After reviewing the information set in the **Check Input Information** step, click the **Done** button. A stack set edit request is made, and you are taken to the **Stack Set Details** page of that stack set.
    * **Service Information Input**(stack set name, permission model, template replacement, template selection method, storage bucket URL, description, tags), **Parameter Settings**, **Deployment Option Configuration** in which the entered information is displayed step by step.
    * Tags, parameters, stack SRN, organization unit ID, Account ID, and region are displayed in a table, showing 10 items per page and providing pagination.
    * To edit the content, click the **Previous** button to go to that step.

# Delete stack set {#delete}

You can delete a stack set.

> **Caution**: Before deleting a stack set, you must first delete the stack instances it contains.

To delete a stack set, follow these steps.

1. Click the **All Services > Management > Infrastructure Builder** menu. Navigate to the **Service Home** page.
2. On the **Service Home** page, click the **Stack Set > Stack Set List** menu. Navigate to the **Stack Set List** page.
3. On the **Stack Set List** page, click the stack set you want to delete. Navigate to the **Stack Set Details** page.
4. **Stack Set Details** page, click the **More > Delete Stack from Stack Set** menu to delete the stack instance. For more details, refer to [스택 세트에서 스택 삭제하기](#delete-stack).
5. When the stack instance deletion is complete, click the **Delete Stack Set** button. The confirmation popup opens.
6. After confirming the stack set to delete, click the **Delete** button.

# Register a delegated administrator {#delegated-admin}

You can register a member Account that can create and manage the organization’s Service Managed stack set as a delegated administrator.
For detailed information on registering and deregistering delegated administrators, please refer to [Managing Delegated Administrators](/en/userguide/management/infrastructure_builder/how_to_guides/delegated_admin/).
