ACM - Certificate is associated to a deleted role?

0

Hi,

I have a strange issue where I cannot delete a certificate, due to being associated with an IAM role that no longer exists. Enter image description here

When attempting to search for this role, it yields no results. Enter image description here

I have verified that the account id matches my own. I'm at a loss as to where I might find this role to disassociate it from?

James
質問済み 1ヶ月前112ビュー
1回答
2
承認された回答

Hello.

Can't you disassociate using the AWS CLI below?
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/disassociate-enclave-certificate-iam-role.html

aws ec2 disassociate-enclave-certificate-iam-role --certificate-arn "acm-arn" --role-arn "iam-role-arn"

AWS CLI can be run from CloudShell.
Open CloudShell using the steps in the document below.
https://docs.aws.amazon.com/cloudshell/latest/userguide/welcome.html

profile picture
エキスパート
回答済み 1ヶ月前
  • I tried it in my environment and was able to remove the IAM role association. If the command is successfully executed, the following response will be returned.

    {
        "Return": true
    }
    
  • This worked for me. Thank you.

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

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

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

関連するコンテンツ