Why an AWS Certificate Manager certificate stays in Pending validation or ends as Validation timed out: wrong DNS zone, duplicated domain suffixes, provider quirks, CAA records and the 72-hour limit, with the dig check and a Terraform setup that validates on its own.

An ACM certificate in Pending validation is waiting for one thing: a CNAME record it can find in public DNS. If the record is not there, or ACM cannot see it, the certificate stays pending for 72 hours and then fails with Validation timed out.
Nearly every case comes down to the record being in the wrong place or having the wrong shape, and dig shows which.
The console shows the record name and value under the certificate's domains. Resolve the name from outside AWS and compare the answer:
The second command matters as much as the first. If the domain is registered at one provider but its name servers point to Route 53, a record added in the registrar's own DNS panel is never consulted. Add the record in the zone that the NS answer names.
The ACM troubleshooting guide lists the common ones. Some providers add the domain to the record name automatically, so entering _x1.example.com creates _x1.example.com.example.com, and the fix is to enter only _x1. Some add a trailing period to the value, so typing one yourself is rejected. Providers that prohibit a leading underscore in the value can use the alternate value without it, although the name must still start with an underscore. GoDaddy and some other registrars need the apex domain truncated from the name.
Wildcard and apex names share one validation record, so a certificate for example.com and *.example.com needs one CNAME, not two. In Cloudflare, make the validation record DNS only, since a proxied record does not return the CNAME target.
Check CAA records on the domain and its parents. If any exist, they must allow Amazon's certificate authorities, otherwise issuance is blocked even after validation succeeds. Also confirm the certificate is in the Region the service needs: CloudFront and API Gateway edge-optimized domains read certificates from us-east-1, while an ALB reads from its own Region. A certificate that validated in the wrong Region will not show up in the console of the right one.
With Route 53 as the DNS provider, Terraform can create the records and wait for validation, so there is nothing to click:
resource "aws_acm_certificate" "api" {
domain_name = "api.example.com"
validation_method = "DNS"
lifecycle {
create_before_destroy = true
}
}
resource "aws_route53_record" "validation" {
for_each = {
for o in aws_acm_certificate.api.domain_validation_options : o.domain_name => {
name = o.resource_record_name
record = o.resource_record_value
type = o.resource_record_type
}
}
zone_id = var.zone_id
name = each.value.name
type = each.value.type
records = [each.value.record]
ttl = 60
allow_overwrite = true
}
resource "aws_acm_certificate_validation" "api" {
certificate_arn = aws_acm_certificate.api.arn
validation_record_fqdns = [for r in aws_route53_record.validation : r.fqdn]
}
Keep the validation record in place after issuance, because ACM uses it to renew the certificate automatically as long as the certificate is in use.
Encore brings infrastructure from code, and for a custom domain the custom domains docs reduce certificates to one DNS record: you add a CNAME for your domain pointing at custom-domain.encr.app, add the domain in the Encore dashboard for the environment it should serve, and Encore sets it up and issues the SSL certificate. There is no certificate resource, validation record or Region choice to manage, and the app itself runs in your own AWS or GCP account as the AWS infrastructure docs describe.

Run in your terminal to get started locally.
The last line is the only DNS change required, a single CNAME per domain, and wildcard domains are not supported, so each hostname gets its own record. The deploy docs cover how code reaches an environment, and a coding agent that adds a new service does not touch certificates at all, since the domain points at the environment and not at a service.
Best fit: Teams that want a custom domain with HTTPS on their app without managing certificate resources or validation records.
ACM is waiting to find the validation CNAME record in public DNS. The usual causes are that the record was added in a zone that is not authoritative for the domain, the provider appended the domain to the record name twice, the record value has an extra trailing period, or a CAA record blocks Amazon from issuing.
Validation normally completes within minutes to a few hours after the record is visible. If ACM cannot find the CNAME in a publicly hosted zone, the certificate times out after 72 hours with the status Validation timed out, and you request a new certificate.
Run dig CNAME on the full record name, for example dig +short CNAME _abc123.example.com, and compare the answer with the value ACM shows. If dig returns nothing, the record is missing from the zone that the internet uses for your domain.
With Encore, you add one CNAME record pointing your domain at custom-domain.encr.app and add the domain in the Encore dashboard, and Encore issues the SSL certificate. There is no certificate resource or validation record to manage yourself.
Deploy to your cloud on AWS and Google Cloud
without managing infrastructure
Encore lets developers and agents define application infrastructure directly in code, then automatically provisions it from local development to production in your AWS or GCP account.