From 952664ecb9c44f80af67fae4b7a1aade3697d6db Mon Sep 17 00:00:00 2001 From: Edward Sun Date: Tue, 30 Mar 2021 08:07:10 -0700 Subject: [PATCH] add minItems for the required field scopes --- .../third_party/terraform/resources/resource_compute_instance.go | 1 + 1 file changed, 1 insertion(+) diff --git a/mmv1/third_party/terraform/resources/resource_compute_instance.go b/mmv1/third_party/terraform/resources/resource_compute_instance.go index 9c4349241068..1f46f657f97f 100644 --- a/mmv1/third_party/terraform/resources/resource_compute_instance.go +++ b/mmv1/third_party/terraform/resources/resource_compute_instance.go @@ -591,6 +591,7 @@ func resourceComputeInstance() *schema.Resource { "scopes": { Type: schema.TypeSet, Required: true, + MinItems: 1, Description: `A list of service scopes.`, Elem: &schema.Schema{ Type: schema.TypeString,