Hey! I’ve submitted a PR to add terraform support for hyperdrive: https://github.com/cloudflare/terr

Hey! I’ve submitted a PR to add terraform support for hyperdrive: https://github.com/cloudflare/terraform-provider-cloudflare/pull/3111

However in our testing we’ve noticed that the API docs are inconsistent, they state that password is a top level value (https://developers.cloudflare.com/api/operations/create-hyperdrive), in our testing we’ve found that it should be nested within origin.

Before I update my PR, and submit a new PR to the cloudflare-go repo, it would be good to clarify whether the API itself or the API docs are where the issue lies? I.e will the docs be updated to nest password in origin? Or the API updated to expose password at the top level?
GitHub
Implements #3092
Requires cloudflare/cloudflare-go#1491 to be released.
Note: Not sure if the acctest is actually viable, as I believe DB creds need to actually be valid for the api request to work.
Interact with Cloudflare's products and services via the Cloudflare API
Was this page helpful?