-
Notifications
You must be signed in to change notification settings - Fork 636
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
wait_for_ssl_pending_validation causes resource recreation #2017
Comments
Terraform debug log detected ✅ |
Should |
we can definitely remove that for the sake of defaults however, i think if you set |
Based on the description, specifically I don't have any strong opinion around how it should work, but I do think when unset/set to false, it shouldn't trigger a recreate on the resource, it should just |
for a workaround, you can add the field to your state file manually and set it to i'll have a chat with the team whether we should remove this for now. |
This did the trick, thanks |
…sl_pending_validation` Closes #2017
This functionality has been released in v3.29.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! |
Confirmation
Terraform and Cloudflare provider version
Terraform v1.3.2
on linux_amd64
Affected resource(s)
cloudflare_custom_hostname
Terraform configuration files
Link to debug output
https://gist.github.com/Evesy/e7316dca485eb58d84af6556feb0de12
Panic output
No response
Expected output
Existing Custom Hostname is deployed with the below resource definition:
I then add a new SSL flag to set a different certificate authority, so the resource becomes:
Terraform should patch the custom hostname to update the CA
Actual output
Terraform wants to recreate the resource due to the
wait_for_ssl_pending_validation
parameter. This is true whether I leave this unset, or set to true/falseSteps to reproduce
Additional factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: