mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-07 09:36:44 +00:00
Make GCP provider "project" attribute optional
This commit is contained in:
parent
9bcd3c0ad2
commit
88c035fa88
@ -33,7 +33,7 @@ func Provider() terraform.ResourceProvider {
|
|||||||
|
|
||||||
"project": &schema.Schema{
|
"project": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Required: true,
|
Required: false,
|
||||||
DefaultFunc: schema.EnvDefaultFunc("GOOGLE_PROJECT", nil),
|
DefaultFunc: schema.EnvDefaultFunc("GOOGLE_PROJECT", nil),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user