From e1cca8915a1bdcc64dffe9ee9c24d1be99a1e859 Mon Sep 17 00:00:00 2001 From: iwarapter Date: Fri, 5 May 2023 11:38:48 +0100 Subject: [PATCH] add azurerm_databricks_workspace to test tf --- ...ation_job_provision_on_demand_resource_test.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/internal/services/serviceprincipals/synchronization_job_provision_on_demand_resource_test.go b/internal/services/serviceprincipals/synchronization_job_provision_on_demand_resource_test.go index 89214a8c56..cc7421b468 100644 --- a/internal/services/serviceprincipals/synchronization_job_provision_on_demand_resource_test.go +++ b/internal/services/serviceprincipals/synchronization_job_provision_on_demand_resource_test.go @@ -35,6 +35,21 @@ func (r SynchronizationJobProvisionOnDemandResource) Exists(ctx context.Context, func (SynchronizationJobProvisionOnDemandResource) template(data acceptance.TestData) string { return fmt.Sprintf(` provider "azuread" {} +provider "azurerm" { + features {} +} + +resource "azurerm_resource_group" "test" { + name = "acctestRG-databricks-%d" + location = "%s" +} + +resource "azurerm_databricks_workspace" "test" { + name = "acctestDBW-%d" + resource_group_name = azurerm_resource_group.test.name + location = azurerm_resource_group.test.location + sku = "%s" +} data "azuread_client_config" "test" {}