Skip to content

Commit

Permalink
add minItems for the required field scopes (#4634)
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardmedia authored Mar 30, 2021
1 parent b029983 commit c3d4d71
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c3d4d71

Please sign in to comment.