Export Custom Hostname Certificate Validation TXT name/value and retain records in state #1197
Labels
lifecycle/stale
workflow/pending-op-response
Indicates an issue or PR requires a response from the original poster.
Current Terraform and Cloudflare provider version
Terraform v1.0.0
on darwin_amd64
cloudflare = {
source = "cloudflare/cloudflare"
version = "2.26.1"
}
Description
The current provider exports the ownership_verification.value but not the Certificate validation TXT name or Certificate validation TXT value.
It also appears to be the case that once the ownership record is validated, it is no longer available as part of the state which means I can no longer refer to the value as expected using
cloudflare_custom_hostname.foo. ownership_verification.value
Use cases
For clients who manage DNS elsewhere, I need to be able to create their custom hostname at Cloudflare, retrieve the exported DCV records for both domain ownership and certificate validation, and then use those values in another module to fully automate DNS record management.
Potential Terraform configuration
...
References
No response
The text was updated successfully, but these errors were encountered: