HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/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.