-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need a data source for cloudflare_origin_ca_certificate
#2526
Comments
cloudflare_origin_ca_certificate
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
What I did to workaround this was to generate a dummy CSR and manually import the state so that the provider doesn't complain about a missing one. This kind of breaking change shouldn't make it to a minor release though. |
We're running into this issue as well. We created the cert in the GUI and cloudflare manages the CSR. |
Still waiting on an update for this. |
Hi bump... any progress on this? |
Hitting this problem. Any further thoughts? |
This functionality has been released in v4.20.0 of the Terraform Cloudflare Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
Current Terraform and Cloudflare provider version
Description
Since cloudflare v4.8.0, the
csr
is a required property of thecloudflare_origin_ca_certificate
resource.This is preventing us to keep track of our
cloudflare_origin_ca_certificate
with terraform as we don't have the CSR that we used to create those certs, and there is no way to recover them.In the state, the csr property is set to null and any terraform plan leads to:
Use cases
To solve this issue, we would like to see a data source for
cloudflare_origin_ca_certificate
so we can keep track of and reference ourcloudflare_origin_ca_certificate
without having to state the csr.Potential Terraform configuration
References
The csr requirement was introduced in #2496
The text was updated successfully, but these errors were encountered: