providers/google: Default account_file* to empty
Prevents prompting for input
This commit is contained in:
parent
a7ca7e0b36
commit
2a04708d66
|
@ -12,15 +12,13 @@ func Provider() terraform.ResourceProvider {
|
|||
"account_file": &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
ConflictsWith: []string{"account_file_contents"},
|
||||
DefaultFunc: schema.EnvDefaultFunc("GOOGLE_ACCOUNT_FILE", nil),
|
||||
DefaultFunc: schema.EnvDefaultFunc("GOOGLE_ACCOUNT_FILE", ""),
|
||||
},
|
||||
|
||||
"account_file_contents": &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
ConflictsWith: []string{"account_file"},
|
||||
DefaultFunc: schema.EnvDefaultFunc("GOOGLE_ACCOUNT_FILE_CONTENTS", nil),
|
||||
DefaultFunc: schema.EnvDefaultFunc("GOOGLE_ACCOUNT_FILE_CONTENTS", ""),
|
||||
},
|
||||
|
||||
"project": &schema.Schema{
|
||||
|
|
Loading…
Reference in New Issue