From f8b806be01ac38fddb3e0a6d01eaab12e61c37e0 Mon Sep 17 00:00:00 2001 From: Matthew Frahry Date: Mon, 20 Apr 2020 16:22:27 -0700 Subject: [PATCH] =?UTF-8?q?`resource=5Farm=5Fapplication=5Fgateway`=20-=20?= =?UTF-8?q?Fix=20crash=20in=20`backend=5Faddr=E2=80=A6=20(#6549)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../services/network/resource_arm_application_gateway.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azurerm/internal/services/network/resource_arm_application_gateway.go b/azurerm/internal/services/network/resource_arm_application_gateway.go index c9d718885d07..341126d93371 100644 --- a/azurerm/internal/services/network/resource_arm_application_gateway.go +++ b/azurerm/internal/services/network/resource_arm_application_gateway.go @@ -116,7 +116,8 @@ func resourceArmApplicationGateway() *schema.Resource { Optional: true, MinItems: 1, Elem: &schema.Schema{ - Type: schema.TypeString, + Type: schema.TypeString, + ValidateFunc: validation.NoZeroValues, }, },