You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to issue a certificate for a domain which already exists in another AWS region, the validation fails because the CNAME record used for the validation already exists.
Error: Failed to create record: error from makeRequest: HTTP status 400: content "{\"result\":null,\"success\":false,\"errors\":[{\"code\":81053,\"message\":\"An A, AAAA or CNAME record already exists with that host.\"}],\"messages\":[]}"
Expected behaviour:
The validation process should create unique CNAME records for each certificate.
The text was updated successfully, but these errors were encountered:
Hi @guigo2k 👋 Thank you for submitting this and sorry you ran into trouble here.
The DNS validation record values are assigned by the ACM API and unfortunately out of Terraform's control in this situation. We already pass a unique token value with each request, which is the only available API option from a caller's perspective.
While the maintainers here are not experts with CloudFlare or its Terraform provider which is where the error is being thrown in this case, there are few things you can do in this situation:
Potentially rework your multiple region configuration to funnel the DNS record handling to a single cloudflare_record for management of it
Potentially use the cloudflare_record resource import support to manually workaround Terraform attempting to create a record that already exists (although this leaves multiple configurations managing the same record.
When trying to issue a certificate for a domain which already exists in another AWS region, the validation fails because the CNAME record used for the validation already exists.
Expected behaviour:
The validation process should create unique CNAME records for each certificate.
The text was updated successfully, but these errors were encountered: