Skip to content

Commit

Permalink
make localityLbPolicy updateable (#3435) (#2012)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored and emilymye committed Apr 30, 2020
1 parent 3917df2 commit 3475497
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/3435.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
compute: Stopped force-recreation of `google_compute_backend_service` and `google_compute_backend_service` on updating `locality_lb_policy
```
1 change: 0 additions & 1 deletion google-beta/resource_compute_backend_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,6 @@ load balancing cannot be used with the other. Default value: "EXTERNAL" Possible
"locality_lb_policy": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
ValidateFunc: validation.StringInSlice([]string{"ROUND_ROBIN", "LEAST_REQUEST", "RING_HASH", "RANDOM", "ORIGINAL_DESTINATION", "MAGLEV", ""}, false),
Description: `The load balancing algorithm used within the scope of the locality.
The possible values are -
Expand Down
1 change: 0 additions & 1 deletion google-beta/resource_compute_region_backend_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,6 @@ balancing cannot be used with the other(s). Default value: "INTERNAL" Possible v
"locality_lb_policy": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
ValidateFunc: validation.StringInSlice([]string{"ROUND_ROBIN", "LEAST_REQUEST", "RING_HASH", "RANDOM", "ORIGINAL_DESTINATION", "MAGLEV", ""}, false),
Description: `The load balancing algorithm used within the scope of the locality.
The possible values are -
Expand Down

0 comments on commit 3475497

Please sign in to comment.