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年前239ビュー
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ