Unable to delete cloudformation stack

0

Trying to delete unused cloudformation stack from AWS Console and its showing error as "Failed to delete stack" No more error details provided and no event details also printed. Tried to delete associated resources manually and still not working and getting same error. Please help on this

질문됨 9달 전1125회 조회
1개 답변
1

Hi You can try any of the following options or reasons

Check Dependencies: Make sure that there are no resources depending on the stack you're trying to delete. If any resources are still actively being used by other AWS services, you won't be able to delete the stack until those dependencies are removed.

Check for Failed Resources: Look for any resources within the stack that might have failed to create properly. If any resources are in a failed state, you might need to manually delete them first before trying to delete the stack again.

Check Deletion Policies: Some resources in AWS CloudFormation stacks have deletion policies that prevent them from being deleted. For example, you might have a database with a retention policy that prevents it from being deleted. Review your stack's resources and their deletion policies.

Review Stack Events: While you mentioned that no event details were printed, it's worth checking the "Events" tab of the CloudFormation stack to see if there are any clues about why the deletion is failing. Sometimes, the events might provide more context about what's causing the issue.

Permissions and Access: Ensure that your AWS credentials have the necessary permissions to delete all the resources within the stack. Lack of permissions can cause deletion failures.

AWS CLI or SDK: If you're comfortable with using the AWS Command Line Interface (CLI) or an SDK, you might get more detailed error messages that can help you identify the root cause of the deletion failure. You can use commands like aws cloudformation delete-stack and check the output for more information.

Lastly

Contact AWS Support: If you've exhausted all troubleshooting steps and still can't delete the stack, it might be a more complex issue related to the underlying AWS infrastructure. In such cases, it's a good idea to contact AWS Support for assistance. They can provide you with more in-depth guidance and potentially resolve the issue from their end.

Regards Nafiu

Nafiu
답변함 9달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠