cloudflare_custom_hostname resource missing wait_for_ssl_pending_validation attribute replacement #5538
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Confirmation
Terraform and Cloudflare provider version
Terraform version: 1.11.3
Cloudflare provider version: v5.0.0
Affected resource(s)
cloudflare_custom_hostname
Terraform configuration files
Link to debug output
N/A
Panic output
No response
Expected output
Expect to wait for custom hostname to be in pending state so that other resources that depend on it (for example, creating DNS records for TXT/CNAME validation) can create the required values.
Actual output
Not sure, the default value of the wait_for_ssl_pending_validation was false, which would not wait for custom hostname to finish being created and put into pending state).
Steps to reproduce
😩
Additional factoids
At the very least, can we clarify what should be done about this (if anything) in the migration guide? Does the new API return the proper validation records without needing to get into a pending state? Because that's the only reason this wait seemed necessary.
References
https://developers.cloudflare.com/api/resources/custom_hostnames/methods/create/
The text was updated successfully, but these errors were encountered: