Skip to content

Import existing stacks into a new StackSets

Description

Import existing stacks into a new StackSets. Use the stack import operation to import up to 10 stacks into a new StackSet in the same account as the source stack or in a different administrator account and Region, by specifying the stack ID of the stack you intend to import.

Usage

cloudformation_import_stacks_to_stack_set(StackSetName, StackIds,
  StackIdsUrl, OrganizationalUnitIds, OperationPreferences, OperationId,
  CallAs)

Arguments

  • StackSetName

    [required] The name of the StackSet. The name must be unique in the Region where you create your StackSet.

  • StackIds

    The IDs of the stacks you are importing into a StackSet. You import up to 10 stacks per StackSet at a time.

    Specify either StackIds or StackIdsUrl.

  • StackIdsUrl

    The Amazon S3 URL which contains list of stack ids to be inputted.

    Specify either StackIds or StackIdsUrl.

  • OrganizationalUnitIds

    The list of OU ID's to which the imported stacks must be mapped as deployment targets.

  • OperationPreferences

    The user-specified preferences for how CloudFormation performs a StackSet operation.

    For more information about maximum concurrent accounts and failure tolerance, see StackSet operation options.

  • OperationId

    A unique, user defined, identifier for the StackSet operation.

  • CallAs

    By default, SELF is specified. Use SELF for StackSets with self-managed permissions.

    • If you are signed in to the management account, specify SELF.
    • For service managed StackSets, specify DELEGATED_ADMIN.

Value

A list with the following syntax:

list(
  OperationId = "string"
)

Request syntax

svc$import_stacks_to_stack_set(
  StackSetName = "string",
  StackIds = list(
    "string"
  ),
  StackIdsUrl = "string",
  OrganizationalUnitIds = list(
    "string"
  ),
  OperationPreferences = list(
    RegionConcurrencyType = "SEQUENTIAL"|"PARALLEL",
    RegionOrder = list(
      "string"
    ),
    FailureToleranceCount = 123,
    FailureTolerancePercentage = 123,
    MaxConcurrentCount = 123,
    MaxConcurrentPercentage = 123,
    ConcurrencyMode = "STRICT_FAILURE_TOLERANCE"|"SOFT_FAILURE_TOLERANCE"
  ),
  OperationId = "string",
  CallAs = "SELF"|"DELEGATED_ADMIN"
)