💾 Archived View for cfdocs.wetterberg.nu › stacksets-getting-started-create.gemini captured on 2021-12-03 at 14:04:38. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Create a stack set

Search

You can create a stack set using the AWS Management Console or using AWS CloudFormation commands in the AWS CLI. You can create a stack set with either `self-managed` or `service-managed` permissions.

With `self-managed` permissions, you can deploy stack instances to specific AWS accounts in specific Regions. To do this, you must first create the necessary IAM roles to establish a trusted relationship between the account you're administering the stack set from and the account you're deploying stack instances to.

With `service-managed` permissions, you can deploy stack instances to accounts managed by AWS Organizations in specific Regions. With this model, you don't need to create the necessary IAM roles; StackSets creates the IAM roles on your behalf. You can also enable automatic deployments to accounts that are added to a target organization or organizational unit (OU) in the future. With automatic deployments enabled, StackSets automatically deletes stack instances from an account if it is removed from a target organization or OU.

Create a stack set with self\-managed permissions

Create a stack set with self\-managed permissions using the AWS Management Console

https://console.aws.amazon.com/cloudformation

Setting up AWS Config with the console

Managing the delivery channel

Using cost allocation tags

Acknowledging IAM resources in AWS CloudFormation templates

Create a stack set with self\-managed permissions using the AWS CLI

When you create stack sets by using AWS CLI commands, you run two separate commands: `create-stack-set` to upload your template and create the stack set container, and `create-stack-instances` to create the stacks within your stack set. Start by running an AWS CLI command, `create-stack-set`, to upload the sample AWS CloudFormation template that enables AWS Config, and then start stack set creation.

The concurrency of the StackSet instances deployments in the operation is dependent on the value of `FailureToleranceCount-MaxConcurrentCount` and is at most one more than the `FailureToleranceCount`.

Wait until an operation is complete before starting another one. You can run only one operation at a time.

Create a stack set with service\-managed permissions

Considerations when creating a stack set with service\-managed permissions

Sample policy that grants service-managed stack set permissions

Create a stack set with service\-managed permissions using the AWS CloudFormation console

https://console.aws.amazon.com/cloudformation

enable trusted access

The *StackSet details* page opens. You can view the progress and status of the creation of the stacks in your stack set.

Create a stack set with service\-managed permissions using the AWS CLI

When you create stack sets using the AWS CLI, you run two separate commands. During `create-stack-set`, you upload your template, create the stack set container, and manage automatic deployments. During `create-stack-instances`, you create stack instances in specific target accounts.

Wait until an operation is complete before starting another one. You can run only one operation at a time.