aws cloudformation delete-stack command failing

0

I'm trying to delete a cloudformation stack and am getting the following error after the delete failed:

StackStatusReason": "The following resource(s) failed to delete: [InternetGateway, VPC, GatewayAttachement, PublicSubnetOne]. "

Are there any CLI commands that will allow me to delete the above resources so that I can get a successful delete?

Thanks,
Gio

Edited by: GioFromArdamore on Apr 9, 2020 7:38 AM

asked 4 years ago252 views
1 Answer
0

I resolved this issue by first issuing the following commands:

aws elbv2 delete-load-balancer --load-balancer-arn "arn-string"
aws elbv2 delete-target-group -target-group-arn "arn-string"

After that the aws cloudformation delete-stack command worked.

Thanks to all who considered answering this question!

Gio

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions