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
demandé il y a un mois112 vues
1 réponse
2
Réponse acceptée

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
EXPERT
répondu il y a un mois
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions