Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

aws cli cloudformation list stacks

# Get list of all CloudFormation Stacks (basic info)
awsProfile="awsProfileName" # Use your aws profile name
awsQuery="Stacks[].{StackId:StackId,StackName:StackName,Description:Description}"
aws --profile "$awsProfile" cloudformation describe-stacks --query "$awsQuery"
 
PREVIOUS NEXT
Tagged: #aws #cli #cloudformation #list #stacks
ADD COMMENT
Topic
Name
1+1 =