From 01c8b0197cd8fb800bf63772696d635d7fe3a208 Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Wed, 12 Apr 2017 00:25:30 +0100 Subject: [PATCH] Switching to use the locationSchema for Event Hub Consumer Groups --- .../azurerm/resource_arm_eventhub_consumer_group.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/builtin/providers/azurerm/resource_arm_eventhub_consumer_group.go b/builtin/providers/azurerm/resource_arm_eventhub_consumer_group.go index 648fc761c8..f188c15f53 100644 --- a/builtin/providers/azurerm/resource_arm_eventhub_consumer_group.go +++ b/builtin/providers/azurerm/resource_arm_eventhub_consumer_group.go @@ -45,11 +45,7 @@ func resourceArmEventHubConsumerGroup() *schema.Resource { ForceNew: true, }, - "location": { - Type: schema.TypeString, - Required: true, - ForceNew: true, - }, + "location": locationSchema(), "user_metadata": { Type: schema.TypeString,