📅  最后修改于: 2022-03-11 14:50:34.185000             🧑  作者: Mango
# 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"