My SAM stack delete has just failed because a Certificate cannot be deleted because it has an "associated resource" pointing to the Cloud Front distribution that I created in the same stack. The Cloud Front distribution has been marked as successfully deleted. It's already been 2 days and the Certificate still thinks there is an associated resource. Any ideas what to do in this scenario?
replied 3 years ago
Thank you for your comment. We'll review and update the Knowledge Center article as needed.
I'm facing the same issue, it's been 1 day already since I deleted the associated API gateway custom domain. The certificate still seems to be associated to some resources that does not exist in my account, this is what i see:
Associated resources (3)
arn:aws:elasticloadbalancing:us-east-1:392220576650:loadbalancer/app/prod-iad-1-cdtls-1-2-104/87ea7bd28e18ef45
arn:aws:elasticloadbalancing:us-east-1:392220576650:loadbalancer/app/prod-iad-1-cdtls-1-2-793/dd9eb9379f71a0ba
arn:aws:elasticloadbalancing:us-east-1:392220576650:loadbalancer/app/prod-iad-1-cdtls-1-2-862/56fc8591797a2875
This shown account id is not mine.
replied 2 years ago
Thank you for your comment. We'll review and update the Knowledge Center article as needed.
i got the same problem. created a temp certificate for testing purpose, after i deleted the domain cname record and all other resources, ther cert still think it is associated with a cloudfront distribution arn:aws:cloudfront::474240146802:distribution/E1UDZSUB323PD4 facing the same problem as kevin, this is not my account id
replied 2 years ago
Got same error for RestApi regional and custom domains today almost mid-2024. Looks like it was an issue 2 years and 6 months ago, some comments in December 2022 confirm still active issue. When AWS states they have no ETA, they really mean no ETA it could be 5 years or longer before it is resolved. Luckily if you have paid support, you can put a service ticket with an ETA for first contact at 3 business days, so maybe being resolved could be 1 week.
replied 2 years ago
Thank you for your comment. We'll review and update the Knowledge Center article as needed.
I am facing the same issue, and it seem like this is blocking any other certificate request for this domain as well. :( Any update on this?
replied 2 years ago
I have also similar issue, my acm certificate claims it is related to some non-existing cloudfront distribution. I cannot delete it, I cannot disassociate it, I'm stuck. It looks like aws api error to me.
replied a year ago
I got the same error as the above comments, but when I try to contact AWS support they say "AWS Basic support is not able to take action on a customers resources on their behalf as it would pose a significant security risk."
replied a year ago
This article was reviewed and updated on 2026-07-08.
Relevant content
asked a year ago
asked 4 years ago

