Delete CloudFormation stack - retaining resources
How to remove an existing CloudFormation stack, but retain the managed resources.
First step - we need the stack within a state of DELETE_FAILED
, this can be achieve by attempting stack delete with a user that only has IAM rights to cloudformation:*
. Create a new temporary IAM user with the following inline policy:
{
"Version": "2012-10-17",
"Statement": [