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 年前檢視次數 256 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南