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

已提問 1 個月前檢視次數 143 次
1 個回答
0
已接受的答案

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
專家
已回答 1 個月前
profile picture
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南