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

質問済み 25日前140ビュー
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
エキスパート
回答済み 25日前
profile picture
エキスパート
レビュー済み 25日前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ