Murphy
Murphy

Reputation: 556

specify region in "aws cloudformation delete-stack"

Stack create allows a region paramater.

aws cloudformation create-stack --stack-name myteststack --region <> --template-body <>

I have a cloudformation stack in all regions of an account, how do i delete it in a region?

aws cloudformation delete-stack --stack-name myteststack

Upvotes: 1

Views: 435

Answers (1)

franklinsijo
franklinsijo

Reputation: 18300

Pass the --region parameter. region is a global option in AWS CLI, and can be passed for all region-specific resources.

aws cloudformation delete-stack --stack-name myteststack --region <>

Upvotes: 2

Related Questions