From 5dda9c90da0d882c6c06afd38764657f34abd70f Mon Sep 17 00:00:00 2001 From: jdbraun Date: Mon, 29 Jan 2024 16:54:01 -0600 Subject: [PATCH] update s3 pathing --- .../workspace_security_modules/uc_catalog/uc_catalog.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws/tf/modules/sra/databricks_workspace/workspace_security_modules/uc_catalog/uc_catalog.tf b/aws/tf/modules/sra/databricks_workspace/workspace_security_modules/uc_catalog/uc_catalog.tf index c65cead..d9ad3fe 100644 --- a/aws/tf/modules/sra/databricks_workspace/workspace_security_modules/uc_catalog/uc_catalog.tf +++ b/aws/tf/modules/sra/databricks_workspace/workspace_security_modules/uc_catalog/uc_catalog.tf @@ -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 @@ -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}" }