A guide for removing an existing CloudFormation stack - but retaining all managed resources.
First step - we need to get the CloudFormation stack into a state of DELETE_FAILED
. This can be achieve by attempting stack delete with an IAM role that only has IAM action rights to cloudformation:DeleteStack
and cloudformation:DescribeStackResources
.
Create a new temporary IAM role with only the following allowed policy actions:
{