HEX
Server: LiteSpeed
System: Linux ip-172-31-76-142.ec2.internal 4.14.158-129.185.amzn2.x86_64 #1 SMP Tue Dec 24 03:15:32 UTC 2019 x86_64
User: 69b4844ae61d4e92bf26ad98af552775 (1065)
PHP: 7.2.27
Disabled: exec,passthru,shell_exec,system,eval
Upload Files
File: //lib/python2.7/site-packages/awscli/examples/cloudformation/list-stack-instances.rst
**To list instances for a stack**

The following ``list-stack-instances`` example lists the instances created from the specified stack set. ::

    aws cloudformation list-stack-instances \
        --stack-set-name enable-config

The example output includes details about a stack that failed to update due to an error::

    {
        "Summaries": [
            {
                "StackSetId": "enable-config:296a3360-xmpl-40af-be78-9341e95bf743",
                "Region": "us-west-2",
                "Account": "123456789012",
                "StackId": "arn:aws:cloudformation:ap-northeast-1:123456789012:stack/StackSet-enable-config-35a6ac50-d9f8-4084-86e4-7da34d5de4c4/a1631cd0-e5fb-xmpl-b474-0aa20f14f06e",
                "Status": "CURRENT"
            },
            {
                "StackSetId": "enable-config:296a3360-xmpl-40af-be78-9341e95bf743",
                "Region": "us-west-2",
                "Account": "123456789012",
                "StackId": "arn:aws:cloudformation:us-west-2:123456789012:stack/StackSet-enable-config-e6cac20f-xmpl-46e9-8314-53e0d4591532/eab53680-e5fa-xmpl-ba14-0a522351f81e",
                "Status": "OUTDATED",
                "StatusReason": "ResourceLogicalId:ConfigDeliveryChannel, ResourceType:AWS::Config::DeliveryChannel, ResourceStatusReason:Failed to put delivery channel 'StackSet-enable-config-e6cac20f-xmpl-46e9-8314-53e0d4591532-ConfigDeliveryChannel-1OJWJ7XD59WR0' because the maximum number of delivery channels: 1 is reached. (Service: AmazonConfig; Status Code: 400; Error Code: MaxNumberOfDeliveryChannelsExceededException; Request ID: d14b34a0-ef7c-xmpl-acf8-8a864370ae56)."
            }
        ]
    }