correct issue #684 (#686)

This commit is contained in:
Sébastien GLON 2017-11-06 19:56:10 +01:00 committed by Vincent Roseberry
parent 0ffa93802e
commit b9eac810c9

View File

@ -43,7 +43,7 @@ func resourceGoogleServiceAccountKey() *schema.Resource {
}, },
"public_key_type": &schema.Schema{ "public_key_type": &schema.Schema{
Type: schema.TypeString, Type: schema.TypeString,
Default: "X509_PEM", Default: "TYPE_X509_PEM_FILE",
Optional: true, Optional: true,
ForceNew: true, ForceNew: true,
ValidateFunc: validation.StringInSlice([]string{"TYPE_NONE", "TYPE_X509_PEM_FILE", "TYPE_RAW_PUBLIC_KEY"}, false), ValidateFunc: validation.StringInSlice([]string{"TYPE_NONE", "TYPE_X509_PEM_FILE", "TYPE_RAW_PUBLIC_KEY"}, false),