Inability to delete an public ACM certificate, resource in use

0

Certificate resource created with terraform module acm failed on deletion. There is still one load balancer registered to it and I'm confused since there are no more resources to be destroyed and I haven't created any by hand. arn:aws:elasticloadbalancing:us-west-1:326126330404:loadbalancer/app/prod-sfo-1-az1-1-6/364e4ac04542d66b

2 Answers
1

There might be an API Gateway that uses a Custom Domain Name with a Regional endpoint type and associated with your ACM certificate. Deploying a Regional API endpoint creates an Application Load Balancer by API Gateway.

To resolve, you can replace or delete that Custom Domain Name. Then, try to delete the ACM again.

More information can be found here: https://aws.amazon.com/premiumsupport/knowledge-center/acm-certificate-resources/ and https://www.youtube.com/watch?v=rYEVHGyAIsw&ab_channel=AmazonWebServices

If you've already done this and still unable to delete the ACM, try to raise a ticket to support team to get the association removed for you. Check this previous post for reference: Can't Delete Certificate because there are Dangling Load Balancer Resources

profile picture
joahna
answered 2 years ago
0

Thank you for your response I think it's the same issue that was described the second link. Nothing that an be done on my end apparently.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions