Skip to content

Commit e127dcb

Browse files
authored
fix: added condition
1 parent 3cd439c commit e127dcb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
locals {
22
# This optional suffix is added to the end of resource names.
33
suffix = length(var.suffix) == 0 ? "" : "-${var.suffix}"
4+
45
databricks_metastore_name = var.custom_databricks_metastore_name == null ? "meta-${var.project}-${var.env}-${var.location}${local.suffix}" : var.custom_databricks_metastore_name
6+
7+
databricks_metastore_container_name = var.custom_databricks_metastore_container_name == null ? "meta-${var.project}-${var.env}" : var.custom_databricks_metastore_container_name
58
}
69

710
resource "azurerm_storage_data_lake_gen2_filesystem" "this" {

0 commit comments

Comments
 (0)