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 (#6982)
  • Loading branch information
roaks3 authored Dec 19, 2022
1 parent 2a9e205 commit d2333ad
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 d2333ad

Please sign in to comment.