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

已提问 4 年前261 查看次数
1 回答
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

已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则