堆栈创建允许区域参数化。
aws cloudformation create-stack --stack-name myteststack --region <> --template-body <>
我在帐户的所有区域中都有一个cloudformation堆栈,如何在一个区域中将其删除?
aws cloudformation delete-stack --stack-name myteststack
答案 0 :(得分:2)
传递--region
参数。 region
是AWS CLI中的全局选项,可以为所有特定于区域的资源传递。
aws cloudformation delete-stack --stack-name myteststack --region <>