Open owl2 opened 13 hours ago
terraform { backend "azurerm" { resource_group_name = "xxx" storage_account_name = "xxx" container_name = "xxx" key = "xxx" } required_providers { azurerm = { source = "hashicorp/azurerm" version = "4.2.0" } databricks = { source = "databricks/databricks" version = "1.56.0" } } }
A deployment of databricks_volume resource without error.
resource "databricks_external_location" "external" { depends_on = [ azurerm_role_assignment.external_sources ] # name = "dbx-external-sources" name = var.environment == "staging" || var.environment == "production" ? "xxx-${var.environment}" : "xxx" url = format("abfss://%s@%s.dfs.core.windows.net", azurerm_storage_container.external.name, azurerm_storage_account.external_sources.name) credential_name = databricks_storage_credential.external_sources.id owner = databricks_group.uc_admins.display_name comment = "External Location" } resource "databricks_volume" "this" { name = "external_sources" catalog_name = "xxx" schema_name = databricks_schema.external_sources.name volume_type = "EXTERNAL" storage_location = databricks_external_location.external.url comment = "This volume is managed by terraform" }
I don't think so.
This happened twice, but restarting fixed it. I create this Issue just in case. Tell me if it's interesting or not.
Why not...
Add trailing / to url value...
/
url
Configuration
Expected Behavior
A deployment of databricks_volume resource without error.
Actual Behavior
Steps to Reproduce
Terraform and provider versions
Is it a regression?
I don't think so.
Important Factoids
This happened twice, but restarting fixed it. I create this Issue just in case. Tell me if it's interesting or not.
Would you like to implement a fix?
Why not...