Skip to content

Commit

Permalink
Fix container_cluster and container_node_pool permadiffs when locatio…
Browse files Browse the repository at this point in the history
…n_policy is set (GoogleCloudPlatform#6982)
  • Loading branch information
roaks3 authored and rlapin-pl committed Jan 1, 2023
1 parent 69258a1 commit 5ab5067
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ var schemaNodePool = map[string]*schema.Schema{
"location_policy": &schema.Schema{
Type: schema.TypeString,
Optional: true,
Computed: true,
ValidateFunc: validation.StringInSlice([]string{"BALANCED", "ANY"}, false),
Description: `Location policy specifies the algorithm used when scaling-up the node pool. "BALANCED" - Is a best effort policy that aims to balance the sizes of available zones. "ANY" - Instructs the cluster autoscaler to prioritize utilization of unused reservations, and reduces preemption risk for Spot VMs.`,
},
Expand Down

0 comments on commit 5ab5067

Please sign in to comment.