From 02fcead96951a72884b5728c61957a85d1ab99f7 Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Thu, 2 Jan 2020 15:27:16 +0100 Subject: [PATCH 1/2] data sources: switching to use the data source field --- .../services/automation/data_source_automation_account.go | 2 +- azurerm/internal/services/web/data_source_app_service.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/azurerm/internal/services/automation/data_source_automation_account.go b/azurerm/internal/services/automation/data_source_automation_account.go index c0888c251337..c63bbb24198a 100644 --- a/azurerm/internal/services/automation/data_source_automation_account.go +++ b/azurerm/internal/services/automation/data_source_automation_account.go @@ -25,7 +25,7 @@ func dataSourceArmAutomationAccount() *schema.Resource { Required: true, }, - "resource_group_name": azure.SchemaResourceGroupNameDiffSuppress(), + "resource_group_name": azure.SchemaResourceGroupNameForDataSource(), "primary_key": { Type: schema.TypeString, diff --git a/azurerm/internal/services/web/data_source_app_service.go b/azurerm/internal/services/web/data_source_app_service.go index 3c7e66fbf02f..202581fef953 100644 --- a/azurerm/internal/services/web/data_source_app_service.go +++ b/azurerm/internal/services/web/data_source_app_service.go @@ -27,7 +27,7 @@ func dataSourceArmAppService() *schema.Resource { ForceNew: true, }, - "resource_group_name": azure.SchemaResourceGroupNameDiffSuppress(), + "resource_group_name": azure.SchemaResourceGroupNameForDataSource(), "location": azure.SchemaLocationForDataSource(), From e7ec3fe492a158c6351daf19cb38a56130fae2f7 Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Thu, 2 Jan 2020 15:27:29 +0100 Subject: [PATCH 2/2] r/storage_account: making the resource group name case sensitive --- .../internal/services/storage/resource_arm_storage_account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azurerm/internal/services/storage/resource_arm_storage_account.go b/azurerm/internal/services/storage/resource_arm_storage_account.go index 26965313008d..530b2e3f5dc7 100644 --- a/azurerm/internal/services/storage/resource_arm_storage_account.go +++ b/azurerm/internal/services/storage/resource_arm_storage_account.go @@ -62,7 +62,7 @@ func resourceArmStorageAccount() *schema.Resource { ValidateFunc: ValidateArmStorageAccountName, }, - "resource_group_name": azure.SchemaResourceGroupNameDiffSuppress(), + "resource_group_name": azure.SchemaResourceGroupName(), "location": azure.SchemaLocation(),