Skip to content

Commit

Permalink
update s3 pathing
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBraun committed Jan 29, 2024
1 parent c4e5b4a commit 5dda9c9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ resource "databricks_storage_credential" "workspace_catalog_storage_credential"
// External Location
resource "databricks_external_location" "workspace_catalog_external_location" {
name = var.uc_catalog_name
url = "s3://${var.uc_catalog_name}/"
url = "s3://${var.uc_catalog_name}/catalog/"
credential_name = databricks_storage_credential.workspace_catalog_storage_credential.id
skip_validation = true
read_only = false
Expand All @@ -148,7 +148,7 @@ resource "databricks_catalog" "workspace_catalog" {
name = var.uc_catalog_name
comment = "This catalog is for workspace - ${var.workspace_id}"
isolation_mode = "ISOLATED"
storage_root = "s3://${var.uc_catalog_name}/"
storage_root = "s3://${var.uc_catalog_name}/catalog/"
properties = {
purpose = "Catalog for workspace - ${var.workspace_id}"
}
Expand Down

0 comments on commit 5dda9c9

Please sign in to comment.