More Info:

None of your Amazon CloudFormation stacks should be in Failed mode for more than 6 hours. Any failed CloudFormation stacks that are not fixed on time can lead to application downtime, security issues or unexpected costs on your AWS bill.

Risk Level

Informational

Address

Operational Maturity

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate a CloudFormation stack with a failed status in AWS using the AWS console, follow these steps:

  1. Open the AWS Management Console and navigate to the CloudFormation service.
  2. Select the CloudFormation stack with a failed status that you want to remediate.
  3. Click on the “Events” tab to view the events associated with the stack.
  4. Review the events to identify the root cause of the failure. The event details will provide information on the resource that failed and the reason for the failure.
  5. Once you have identified the root cause of the failure, take the appropriate action to remediate the issue. This may involve updating the CloudFormation template, modifying the resource configuration, or resolving any dependencies or permissions issues.
  6. After making the necessary changes, update the CloudFormation stack by clicking on the “Update Stack” button.
  7. Follow the prompts to upload the updated template and apply the changes to the stack.
  8. Monitor the stack events to ensure that the update is successful and the stack status changes to “CREATE_COMPLETE” or “UPDATE_COMPLETE”.

By following these steps, you can remediate a CloudFormation stack with a failed status in AWS using the AWS console.

Additional Reading: