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

demandé il y a 4 ans239 vues
1 réponse
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

répondu il y a 4 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions