From 01bb3ee1471e7ecf87f5c8193313c61607bc2a60 Mon Sep 17 00:00:00 2001 From: neil-yechenwei Date: Mon, 10 Aug 2020 10:49:08 +0800 Subject: [PATCH] Remove case diff suppress for property rule_type of azurerm_application_gateway --- .../services/network/application_gateway_resource.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/azurerm/internal/services/network/application_gateway_resource.go b/azurerm/internal/services/network/application_gateway_resource.go index c98c42e92b5e..492b266f1285 100644 --- a/azurerm/internal/services/network/application_gateway_resource.go +++ b/azurerm/internal/services/network/application_gateway_resource.go @@ -486,13 +486,12 @@ func resourceArmApplicationGateway() *schema.Resource { }, "rule_type": { - Type: schema.TypeString, - Required: true, - DiffSuppressFunc: suppress.CaseDifference, + Type: schema.TypeString, + Required: true, ValidateFunc: validation.StringInSlice([]string{ string(network.Basic), string(network.PathBasedRouting), - }, true), + }, false), }, "http_listener_name": {