Open SkeLLLa opened 7 months ago
After hundreds of retries I was able to setup the certificate manually through web UI and now terraform resource shows that it wants to change the cdn resource because
~ resource "digitalocean_cdn" "bucket_cdn" {
~ certificate_name = "needs-cloudflare-cert" -> "correct-cert-name"
id = "xxxxxxxx-xxxx-xxxx-8a9d-9e3af0e670c6"
# (6 unchanged attributes hidden)
}
Bug Report
Describe the bug
Trying to add custom domain to CDN resource on DO leads to an error: "invalid certificate issued by Cloudflare origin CA"
Affected Resource(s)
Expected Behavior
No error, cdn is enabled.
Actual Behavior
Certificate is added to DO successfully. But CDN creation failed with error: 422 invalid certificate issued by Cloudflare origin CA (type: invalid-cert, retryable: false): invalid certificate issued by Cloudflare origin CA
Steps to Reproduce
Terraform version Terraform: 1.7.2 DO Provider: 2.36.0
Debug Output
Additional context
See provider request ids and certificate id (those are not changed).
Important Factoids
References
Might be related to #1095, #1086.