diff --git a/azurerm/data_source_kubernetes_cluster.go b/azurerm/data_source_kubernetes_cluster.go index bdd5daae79c3..266e53b602fd 100644 --- a/azurerm/data_source_kubernetes_cluster.go +++ b/azurerm/data_source_kubernetes_cluster.go @@ -40,8 +40,8 @@ func dataSourceArmKubernetesCluster() *schema.Resource { "enable_rbac": { Type: schema.TypeBool, - Computed: true, - }, + Computed: true, + }, "node_resource_group": { Type: schema.TypeString, @@ -177,33 +177,33 @@ func dataSourceArmKubernetesCluster() *schema.Resource { }, "aad_profile": { - Type: schema.TypeList, + Type: schema.TypeList, Computed: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ - "server_app_id": { - Type: schema.TypeString, - Computed: true, - }, - - "server_app_secret": { + "server_app_id": { + Type: schema.TypeString, + Computed: true, + }, + + "server_app_secret": { Type: schema.TypeString, Computed: true, Sensitive: true, }, - - "client_app_id": { - Type: schema.TypeString, + + "client_app_id": { + Type: schema.TypeString, Computed: true, }, - - "tenant_id": { - Type: schema.TypeString, + + "tenant_id": { + Type: schema.TypeString, Computed: true, - }, - }, - }, - }, + }, + }, + }, + }, "network_profile": { Type: schema.TypeList, @@ -214,7 +214,7 @@ func dataSourceArmKubernetesCluster() *schema.Resource { Type: schema.TypeString, Computed: true, }, - + "service_cidr": { Type: schema.TypeString, Computed: true, diff --git a/azurerm/resource_arm_kubernetes_cluster.go b/azurerm/resource_arm_kubernetes_cluster.go index 353c07e1f17b..7fedc88b9d1d 100644 --- a/azurerm/resource_arm_kubernetes_cluster.go +++ b/azurerm/resource_arm_kubernetes_cluster.go @@ -91,8 +91,8 @@ func resourceArmKubernetesCluster() *schema.Resource { Optional: true, ForceNew: true, Default: true, - }, - + }, + "node_resource_group": { Type: schema.TypeString, Computed: true, @@ -292,12 +292,12 @@ func resourceArmKubernetesCluster() *schema.Resource { "tenant_id": { Type: schema.TypeString, Required: true, - }, - }, - }, - }, + }, + }, + }, + }, - "network_profile": { + "network_profile": { Type: schema.TypeList, Optional: true, Computed: true,