Skip to content

Commit 79f473c

Browse files
committed
Make provider-level zone optional.
Individual resources will fail if they can't find a zone.
1 parent 8d6050a commit 79f473c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/provider.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func Provider() terraform.ResourceProvider {
4949

5050
"zone": &schema.Schema{
5151
Type: schema.TypeString,
52-
Required: true,
52+
Optional: true,
5353
DefaultFunc: schema.MultiEnvDefaultFunc([]string{
5454
"GOOGLE_ZONE",
5555
"GCLOUD_ZONE",

0 commit comments

Comments
 (0)