From b9eac810c9274a948c9689fb2ccefd206718fe45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20GLON?= Date: Mon, 6 Nov 2017 19:56:10 +0100 Subject: [PATCH] correct issue #684 (#686) --- google/resource_google_service_account_key.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/resource_google_service_account_key.go b/google/resource_google_service_account_key.go index 303bc413..633ba1f4 100644 --- a/google/resource_google_service_account_key.go +++ b/google/resource_google_service_account_key.go @@ -43,7 +43,7 @@ func resourceGoogleServiceAccountKey() *schema.Resource { }, "public_key_type": &schema.Schema{ Type: schema.TypeString, - Default: "X509_PEM", + Default: "TYPE_X509_PEM_FILE", Optional: true, ForceNew: true, ValidateFunc: validation.StringInSlice([]string{"TYPE_NONE", "TYPE_X509_PEM_FILE", "TYPE_RAW_PUBLIC_KEY"}, false),