Certificate is associated with an arn:aws:cloudfront:::xxxxx/xxxx that cannot be found
I am trying to disassociate a certificate from a cloudfront resource that is listed in the certificate manager. However at Cloudfront manager, no such resource comes up and therefore unable to delete the certificate itself. How does one find the resource arn:aws:cloudfront::XXXX:distribution/YYYY, where XXX and YYYY are given under the certificate manager.
Check the ARN of the 'Associated Resource' in the certificate in ACM - does it match that of the AWS account that you're in? If not, then it's likely that this is a resource created by API GW and owned by the service. GO into API GW and see if you have any global GWs that have an ACM cert associated with them.
If you had API GWs but have recently deleted them, then check out this answer for more on that front.
Hope that helps. If it doesn't, then let us know here.
AWS China CloudFront Error when provisioned using terraformasked 6 days ago
Certificate associated with Cloudfront does not resolve to an IPasked 3 years ago
Certificate is associated with an arn:aws:cloudfront:::xxxxx/xxxx that cannot be foundasked 3 months ago
Replace GoDaddy Certificate with ACM Certificateasked 2 years ago
Using a subordinate certificate authority from ACM Private CA for mTLS client certificate authentication with MSKasked 4 months ago
Lightsail Distrbution, custom SSL certificate and custom domainasked 4 months ago
Can't use ACM certificate in Cloudfront ChinaAccepted Answerasked 2 months ago
No certificate shown in AWS Certificate Manager despite having certs pending renewalasked 4 months ago
How to use the same ACM certificate with CloudFront and ELBAccepted Answerasked 3 years ago
Unable to delete certificate - in use by an unknown accountasked 3 years ago