Skip to content

Commit 2ae7a61

Browse files
Revert "add minItems for the required field scopes (#4634)" (#4686) (#3147)
This reverts commit c3d4d7144ede8ab18e4382a2ac3fb4b076cefebc. Signed-off-by: Modular Magician <[email protected]>
1 parent a045a05 commit 2ae7a61

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

.changelog/4686.txt

Whitespace-only changes.

google-beta/resource_compute_instance.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,6 @@ func resourceComputeInstance() *schema.Resource {
591591
"scopes": {
592592
Type: schema.TypeSet,
593593
Required: true,
594-
MinItems: 1,
595594
Description: `A list of service scopes.`,
596595
Elem: &schema.Schema{
597596
Type: schema.TypeString,

google-beta/resource_dataflow_flex_template_job_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
1010
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
11-
compute "google.golang.org/api/compute/v1"
11+
"google.golang.org/api/compute/v1"
1212
)
1313

1414
func TestAccDataflowFlexTemplateJob_basic(t *testing.T) {

google-beta/resource_dataproc_cluster_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ import (
1313
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
1414
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
1515

16-
"google.golang.org/api/googleapi"
17-
1816
dataproc "google.golang.org/api/dataproc/v1beta2"
17+
"google.golang.org/api/googleapi"
1918
)
2019

2120
func TestDataprocExtractInitTimeout(t *testing.T) {

0 commit comments

Comments
 (0)