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

asked 14 days ago131 views
1 Answer
0
Accepted Answer

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
answered 14 days ago
profile picture
EXPERT
reviewed 14 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions