From 597ccb5011e9a7240abfafcefbbce83fe6cc67ed Mon Sep 17 00:00:00 2001 From: Konstantin Kosinsky Date: Tue, 9 Jun 2020 08:57:26 -0700 Subject: [PATCH] Formatting and TODO comment --- azurerm/helpers/azure/hdinsight.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azurerm/helpers/azure/hdinsight.go b/azurerm/helpers/azure/hdinsight.go index ab519b2d4da3..d60bfcfe5da2 100644 --- a/azurerm/helpers/azure/hdinsight.go +++ b/azurerm/helpers/azure/hdinsight.go @@ -92,10 +92,11 @@ func SchemaHDInsightsGateway() *schema.Schema { MaxItems: 1, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ + // TODO 3.0: remove this attribute "enabled": { Type: schema.TypeBool, Optional: true, - Default: true, + Default: true, Deprecated: "HDInsight doesn't support disabling gateway anymore", ValidateFunc: func(i interface{}, k string) (warnings []string, errors []error) { enabled := i.(bool)