diff --git a/.changelog/6982.txt b/.changelog/6982.txt new file mode 100644 index 00000000000..8ec013c0699 --- /dev/null +++ b/.changelog/6982.txt @@ -0,0 +1,3 @@ +```release-note:none + +``` diff --git a/google/resource_container_node_pool.go b/google/resource_container_node_pool.go index 395ac5c299d..35f085c363b 100644 --- a/google/resource_container_node_pool.go +++ b/google/resource_container_node_pool.go @@ -160,6 +160,7 @@ var schemaNodePool = map[string]*schema.Schema{ "location_policy": { 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.`, },