Skip to content

Commit

Permalink
test/load_balancer_pool: Update IP range for tests (cloudflare#369)
Browse files Browse the repository at this point in the history
Updates the `address` values to not use ranges that the IETF reserve for
documentation and example purposes[1] as these fail load balancer
validation.

[1]: https://tools.ietf.org/html/rfc5737
  • Loading branch information
jacobbednarz authored and patryk committed Jun 6, 2019
1 parent a36d960 commit a3ff1aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloudflare/resource_cloudflare_load_balancer_pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ resource "cloudflare_load_balancer_pool" "%[1]s" {
name = "my-tf-pool-basic-%[1]s"
origins {
name = "example-1"
address = "192.0.2.1"
address = "1.1.1.2"
enabled = true
}
}`, id)
Expand All @@ -201,13 +201,13 @@ resource "cloudflare_load_balancer_pool" "%[1]s" {
name = "my-tf-pool-basic-%[1]s"
origins {
name = "example-1"
address = "192.0.2.1"
address = "1.1.1.2"
enabled = false
weight = 1.0
}
origins {
name = "example-2"
address = "192.0.2.2"
address = "1.1.1.3"
weight = 0.5
}
check_regions = ["WEU"]
Expand Down

0 comments on commit a3ff1aa

Please sign in to comment.