Skip to content

Commit

Permalink
Make provider-level zone optional.
Browse files Browse the repository at this point in the history
Individual resources will fail if they can't find a zone.
  • Loading branch information
nat-henderson committed Dec 4, 2017
1 parent 8d6050a commit 79f473c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func Provider() terraform.ResourceProvider {

"zone": &schema.Schema{
Type: schema.TypeString,
Required: true,
Optional: true,
DefaultFunc: schema.MultiEnvDefaultFunc([]string{
"GOOGLE_ZONE",
"GCLOUD_ZONE",
Expand Down

0 comments on commit 79f473c

Please sign in to comment.