Skip to content

Commit a96511f

Browse files
Fix for scopes
Needs Optional
1 parent 3fd60e5 commit a96511f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/google_access_token/resource_schema.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ func Resource() *schema.Resource {
1212
Elem: &schema.Schema{
1313
Type: schema.TypeString,
1414
},
15-
Default: []string{"https://www.googleapis.com/auth/cloud-platform"},
15+
Optional: true,
16+
Default: []string{"https://www.googleapis.com/auth/cloud-platform"},
1617
},
1718
"access_token": {
1819
Type: schema.TypeString,

0 commit comments

Comments
 (0)