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
feita há um mês111 visualizações
1 Resposta
2
Resposta aceita

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
ESPECIALISTA
respondido há um mês
  • 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.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas