Error: failed to create DNS record: error from makeRequest: HTTP status 400

I’m trying to use Terraform & use Cloudflare for AWS ACM verification (create a CNAME in cloudflare to point to aws dns verfication)

I keep getting this error from Cloudflare.

Error: failed to create DNS record: error from makeRequest: HTTP status 400: content “{“result”:null,“success”:false,“errors”:[{“code”:1004,“message”:“DNS Validation Error”,“error_chain”:[{“code”:9007,“message”:“Content for CNAME record is invalid”}]}],“messages”:}”

Is there anyway to work out why Cloudflare is failing this?

Looking at Terraform show the DNS records it wants to create looks ok.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.