Open LittleWat opened 1 month ago
this was solved by simply adding /
at the end of the s3 URL as follows:
resource "databricks_external_location" "catalog_location" {
provider = databricks.workspace
name = "${local.catalog_name}-location"
credential_name = databricks_storage_credential.external.id
url = "s3://${module.domain_storage.bucket_name}/" # <=============== / is added at the end
depends_on = [aws_iam_role.external_data_access, time_sleep.wait_role_creation]
force_destroy = true
force_update = true
}
but it would be better if the provider can handle the URL without /
related issue
Configuration
Expected Behavior
Should apply successfully
Actual Behavior
Rerunning apply solves this but
We need to rerun to avoid the error:
Steps to Reproduce
Terraform and provider versions
Is it a regression?
Debug Output
Important Factoids
Would you like to implement a fix?