provider/google: Mark GKE pass as sensitive (#13148)

This commit is contained in:
Radek Simko 2017-03-29 11:22:33 +01:00 committed by GitHub
parent 23f0475872
commit 9e7839b0ed
1 changed files with 7 additions and 5 deletions

View File

@ -40,17 +40,19 @@ func resourceContainerCluster() *schema.Resource {
Computed: true, Computed: true,
}, },
"client_key": &schema.Schema{ "client_key": &schema.Schema{
Type: schema.TypeString, Type: schema.TypeString,
Computed: true, Computed: true,
Sensitive: true,
}, },
"cluster_ca_certificate": &schema.Schema{ "cluster_ca_certificate": &schema.Schema{
Type: schema.TypeString, Type: schema.TypeString,
Computed: true, Computed: true,
}, },
"password": &schema.Schema{ "password": &schema.Schema{
Type: schema.TypeString, Type: schema.TypeString,
Required: true, Required: true,
ForceNew: true, ForceNew: true,
Sensitive: true,
}, },
"username": &schema.Schema{ "username": &schema.Schema{
Type: schema.TypeString, Type: schema.TypeString,