cloudflare_load_balancer_pool origin header override inconsistent result after apply #4828
Closed
3 tasks done
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.
triage/debug-log-attached
Indicates an issue or PR has a complete Terraform debug log.
Confirmation
Terraform and Cloudflare provider version
Terraform v1.10.3
on darwin_arm64
Latest as of writing this
Affected resource(s)
cloudflare_load_balancer_pool#origins
Terraform configuration files
Link to debug output
https://gist.github.com/steve-hb/1caac160b9937d079027ab7ef6fb9165
Panic output
No response
Expected output
It should create a LoadBalancer with the origin headers overridden for each origin.
Actual output
The provider fails due to inconsistent result.
Steps to reproduce
Add your api_token and account_id and finally apply the file.
Additional factoids
I tried multiple ways of defining the headers from different sources I found, one (I provided) directly set an object, others defined it as an array of objects (makes sense):
The direct object approach nevertheless is imo consistent with this destroy output when using the officially documented way of defining an array:
The result (failure) stays the same no matter how I configure it.
Setting the Header override manually in the Cloudflare dashboard works fine and as expected.
References
https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/load_balancer_pool#example-usage shows how to use it
The text was updated successfully, but these errors were encountered: