HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/cloudformation/create-stack-set.rst
**To create a stack set**

The following ``create-stack-set`` example creates a stack set using the specified YAML file temlplate. ``template.yaml`` is an AWS CloudFormation template in the current folder that defines a stack. ::

    aws cloudformation create-stack-set \
        --stack-set-name my-stack-set \
        --template-body file://template.yaml \
        --description "SNS topic"

Output::

    {
        "StackSetId": "my-stack-set:8d0f160b-d157-xmpl-a8e6-c0ce8e5d8cc1"
    }

To add stack instances to the stack set, use the ``create-stack-instances`` command.