aws cloudformation list-stacks --stack-status-filter

From wikieduonline
Jump to navigation Jump to search

Documentation: https://docs.aws.amazon.com/cli/latest/reference/cloudformation/list-stacks.html

aws cloudformation list-stacks --stack-status-filter CREATE_COMPLETE | grep TemplateDescription

aws cloudformation list-stacks --stack-status-filter CREATE_COMPLETE
[
    {
        "StackId": "arn:aws:cloudformation:us-east-1:123456789012:stack/myteststack/466df9e0-0dff-08e3-8e2f-5088487c4896",
        "TemplateDescription": "AWS CloudFormation Sample Template S3_Bucket: Sample template showing how to create a publicly accessible S3 bucket. **WARNING** This template creates an S3 bucket. You will be billed for the AWS resources used if you create a stack from this template.",
        "StackStatusReason": null,
        "CreationTime": "2013-08-26T03:27:10.190Z",
        "StackName": "myteststack",
        "StackStatus": "CREATE_COMPLETE"
    }
]

Related terms[edit]

See also[edit]

Advertising: