Skip to content

Commit

Permalink
make name same as bucket if no name is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
alldoami committed Sep 26, 2024
1 parent f4dd876 commit bb6c2c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion databricks-s3-volume-existing-catalog/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ resource "databricks_external_location" "volume" {

resource "databricks_volume" "volume" {
depends_on = [databricks_external_location.volume]
name = "${var.volume_name}"
name = var.volume_name
catalog_name = var.catalog_name
schema_name = var.schema_name
volume_type = "EXTERNAL"
Expand Down
1 change: 1 addition & 0 deletions databricks-s3-volume-existing-catalog/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ variable "schema_name" {
variable "volume_name" {
description = "Name of the Databricks volume to create"
type = string
default = var.volume_bucket
}

variable "volume_bucket" {
Expand Down

0 comments on commit bb6c2c5

Please sign in to comment.