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

posta un mese fa143 visualizzazioni
1 Risposta
0
Risposta accettata

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
ESPERTO
con risposta un mese fa
profile picture
ESPERTO
verificato un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande