From 36767b884d4a85948cf4293a9a164396691a008e Mon Sep 17 00:00:00 2001 From: MyroslavLevchyk Date: Mon, 25 Nov 2024 11:34:14 +0200 Subject: [PATCH] fix: module update --- README.md | 9 +++++---- modules/privatelink/versions.tf | 2 +- outputs.tf | 5 +++++ variables.tf | 1 - versions.tf | 4 ++-- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a13e5df..8891480 100644 --- a/README.md +++ b/README.md @@ -9,16 +9,16 @@ Terraform module for creation AWS Databricks Workspace | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.8 | -| [aws](#requirement\_aws) | >= 5.0 | -| [databricks](#requirement\_databricks) | >= 1.55 | +| [aws](#requirement\_aws) | ~>5.0 | +| [databricks](#requirement\_databricks) | ~>1.0 | | [time](#requirement\_time) | ~> 0.11 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 5.0 | -| [databricks](#provider\_databricks) | >= 1.55 | +| [aws](#provider\_aws) | ~>5.0 | +| [databricks](#provider\_databricks) | ~>1.0 | | [time](#provider\_time) | ~> 0.11 | ## Modules @@ -76,6 +76,7 @@ Terraform module for creation AWS Databricks Workspace | [iam\_role](#output\_iam\_role) | The IAM role created for cross-account access to the Databricks workspace | | [storage](#output\_storage) | The storage configuration for the DBFS bucket associated with the workspace | | [workspace](#output\_workspace) | The Databricks workspace resource that has been created | +| [workspace\_id](#output\_workspace\_id) | The unique identifier of the Databricks workspace. | | [workspace\_url](#output\_workspace\_url) | The URL for accessing the Databricks workspace | diff --git a/modules/privatelink/versions.tf b/modules/privatelink/versions.tf index 21f9c42..fcd2dd2 100644 --- a/modules/privatelink/versions.tf +++ b/modules/privatelink/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { databricks = { source = "databricks/databricks" - version = ">= 1.55" + version = "~>1.0" } } } diff --git a/outputs.tf b/outputs.tf index d3d7247..1e07317 100644 --- a/outputs.tf +++ b/outputs.tf @@ -17,3 +17,8 @@ output "workspace_url" { value = databricks_mws_workspaces.this.workspace_url description = "The URL for accessing the Databricks workspace" } + +output "workspace_id" { + value = databricks_mws_workspaces.this.workspace_id + description = "The unique identifier of the Databricks workspace." +} diff --git a/variables.tf b/variables.tf index 2a974fb..d9d9d64 100644 --- a/variables.tf +++ b/variables.tf @@ -107,7 +107,6 @@ variable "iam_cross_account_workspace_role_config" { }) default = {} } - ################################################################################ # Storage root bucket config ################################################################################ diff --git a/versions.tf b/versions.tf index 2a9a86d..a5b989f 100644 --- a/versions.tf +++ b/versions.tf @@ -4,11 +4,11 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.0" + version = "~>5.0" } databricks = { source = "databricks/databricks" - version = ">= 1.55" + version = "~>1.0" } time = { source = "hashicorp/time"