diff --git a/google/provider.go b/google/provider.go index 1c22e4bd..cb091ea6 100644 --- a/google/provider.go +++ b/google/provider.go @@ -40,7 +40,7 @@ func Provider() terraform.ResourceProvider { "region": &schema.Schema{ Type: schema.TypeString, - Required: true, + Optional: true, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_REGION", "GCLOUD_REGION", diff --git a/website/docs/index.html.markdown b/website/docs/index.html.markdown index a4a682de..d9bfb38b 100644 --- a/website/docs/index.html.markdown +++ b/website/docs/index.html.markdown @@ -68,7 +68,7 @@ The following keys can be used to configure the provider. * `GCLOUD_PROJECT` * `CLOUDSDK_CORE_PROJECT` -* `region` - (Required) The region to operate under, if not specified by a given resource. +* `region` - (Optional) The region to operate under, if not specified by a given resource. This can also be specified using any of the following environment variables (listed in order of precedence):