QuestionQ22

Reliability and Business Continuity

A CloudOps engineer is investigating a failed AWS CloudFormation stack creation. Before the CloudOps engineer can determine the issue, the stack and its resources are deleted. For future deployments, the CloudOps engineer must retain any resources that CloudFormation creates successfully.

What should the CloudOps engineer do to satisfy this requirement?

Explanation

Setting the OnFailure parameter to DO_NOTHING prevents CloudFormation from automatically rolling back a failed stack-creation operation. Successfully created resources remain available, along with the failed stack's events, for troubleshooting.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!