Can not delete stack even I am root user

0

I am logged in with the root user, but I can not perform delete stack on SSTBootstrap This is the error: Role arn:aws:iam::<ACCOUNT_NUMBER>:role/cdk-hnb659fds-cfn-exec-role-<ACCOUNT_NUMBER>-eu-west-3 is invalid or cannot be assumed

demandé il y a un mois144 vues
1 réponse
0
Réponse acceptée

Hello.

You need the IAM role indicated in the error message, but the error may have occurred because it has already been deleted in the failed delete process of the stack you are trying to delete.
So, creating an IAM role with the same name may solve the problem.
I have solved similar errors this way in the past.
https://repost.aws/questions/QUazDA4tWPSLOb9Z1Ikxe2CQ/i-manually-deleted-a-specific-resource-and-i-can-not-delete-the-cloudformation-stack#ANBRAsNu-0QFG59UywJn7jvg

profile picture
EXPERT
répondu il y a un mois
profile picture
EXPERT
vérifié il y a un mois

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