Skip to content
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

Support for load balancer origin steering #1240

Conversation

gofish
Copy link
Contributor

@gofish gofish commented Oct 7, 2021

Initial support for load balancer pool origin steering policies.

See cloudflare/cloudflare-go#722.

@gofish gofish force-pushed the jfishman/load-balancing/origin-steering branch from 8c07921 to 5d837d6 Compare October 7, 2021 19:51
Schema: map[string]*schema.Schema{
"policy": {
Type: schema.TypeString,
Default: "",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't seem to line up with your documentation below. which do we want here?

The **origin_steering** block supports:
* `policy` - (Optional) Either "random" (default) or "hash".

@jacobbednarz
Copy link
Member

could you please add a CHANGELOG entry for this PR based on the changelog process doc?

acceptance tests look good

==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./...) -v -run "^TestAccCloudflareLoadBalancerPool_FullySpecified" -count 1 -parallel 1 -timeout 120m -parallel 1
?   	github.com/cloudflare/terraform-provider-cloudflare	[no test files]
=== RUN   TestAccCloudflareLoadBalancerPool_FullySpecified
=== PAUSE TestAccCloudflareLoadBalancerPool_FullySpecified
=== CONT  TestAccCloudflareLoadBalancerPool_FullySpecified
--- PASS: TestAccCloudflareLoadBalancerPool_FullySpecified (11.34s)
PASS
ok  	github.com/cloudflare/terraform-provider-cloudflare/cloudflare	11.852s
?   	github.com/cloudflare/terraform-provider-cloudflare/version	[no test files]

Initial support for load balancer pool origin steering policies.

See cloudflare/cloudflare-go#722.
@gofish gofish force-pushed the jfishman/load-balancing/origin-steering branch from 5d837d6 to 1e02e2b Compare October 7, 2021 23:28
@jacobbednarz
Copy link
Member

boom! nice work 👏

@jacobbednarz jacobbednarz merged commit 7268bee into cloudflare:master Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants