From 1d24c590873af5d897e0f88c47e7df9955563b0a Mon Sep 17 00:00:00 2001 From: nexxai Date: Fri, 16 Aug 2019 12:06:30 -0600 Subject: [PATCH 1/2] Made kube_admin_config sensitive --- azurerm/resource_arm_kubernetes_cluster.go | 1 + 1 file changed, 1 insertion(+) diff --git a/azurerm/resource_arm_kubernetes_cluster.go b/azurerm/resource_arm_kubernetes_cluster.go index e88e0e60df8f..0693b06b38f1 100644 --- a/azurerm/resource_arm_kubernetes_cluster.go +++ b/azurerm/resource_arm_kubernetes_cluster.go @@ -501,6 +501,7 @@ func resourceArmKubernetesCluster() *schema.Resource { Type: schema.TypeList, Computed: true, MaxItems: 1, + Sensitive: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "host": { From ef8c1944a9f656691d6dc50fea8909bd508f92cd Mon Sep 17 00:00:00 2001 From: nexxai Date: Fri, 16 Aug 2019 12:13:08 -0600 Subject: [PATCH 2/2] Formatting --- azurerm/resource_arm_kubernetes_cluster.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azurerm/resource_arm_kubernetes_cluster.go b/azurerm/resource_arm_kubernetes_cluster.go index 0693b06b38f1..57bbf5b480a9 100644 --- a/azurerm/resource_arm_kubernetes_cluster.go +++ b/azurerm/resource_arm_kubernetes_cluster.go @@ -498,9 +498,9 @@ func resourceArmKubernetesCluster() *schema.Resource { // Computed "kube_admin_config": { - Type: schema.TypeList, - Computed: true, - MaxItems: 1, + Type: schema.TypeList, + Computed: true, + MaxItems: 1, Sensitive: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{