Skip to content

Commit

Permalink
fix: module update
Browse files Browse the repository at this point in the history
  • Loading branch information
MyroslavLevchyk authored and MyroslavLevchyk committed Nov 25, 2024
1 parent ec0f7f0 commit 3c98d5c
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 15 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ Terraform module for creation AWS Databricks Workspace
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.8 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.0 |
| <a name="requirement_databricks"></a> [databricks](#requirement\_databricks) | >= 1.55 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~>5.0 |
| <a name="requirement_databricks"></a> [databricks](#requirement\_databricks) | ~>1.0 |
| <a name="requirement_time"></a> [time](#requirement\_time) | ~> 0.11 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.0 |
| <a name="provider_databricks"></a> [databricks](#provider\_databricks) | >= 1.55 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | ~>5.0 |
| <a name="provider_databricks"></a> [databricks](#provider\_databricks) | ~>1.0 |
| <a name="provider_time"></a> [time](#provider\_time) | ~> 0.11 |

## Modules
Expand Down Expand Up @@ -76,6 +76,7 @@ Terraform module for creation AWS Databricks Workspace
| <a name="output_iam_role"></a> [iam\_role](#output\_iam\_role) | The IAM role created for cross-account access to the Databricks workspace |
| <a name="output_storage"></a> [storage](#output\_storage) | The storage configuration for the DBFS bucket associated with the workspace |
| <a name="output_workspace"></a> [workspace](#output\_workspace) | The Databricks workspace resource that has been created |
| <a name="output_workspace_id"></a> [workspace\_id](#output\_workspace\_id) | The unique identifier of the Databricks workspace. |
| <a name="output_workspace_url"></a> [workspace\_url](#output\_workspace\_url) | The URL for accessing the Databricks workspace |
<!-- END_TF_DOCS -->

Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,4 @@ resource "databricks_mws_storage_configurations" "this" {
account_id = var.account_id
storage_configuration_name = var.label
bucket_name = module.storage_configuration_dbfs_bucket[0].s3_bucket_id
}
}
2 changes: 1 addition & 1 deletion modules/privatelink/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ resource "databricks_mws_vpc_endpoint" "relay" {
aws_vpc_endpoint_id = var.relay_aws_vpc_endpoint_id
vpc_endpoint_name = var.relay_vpc_endpoint_name
region = var.region
}
}
2 changes: 1 addition & 1 deletion modules/privatelink/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ output "rest_vpce_id" {
output "relay_vpce_id" {
value = databricks_mws_vpc_endpoint.relay.vpc_endpoint_id
description = "The ID of the AWS VPC endpoint associated with the Databricks Relay service"
}
}
2 changes: 1 addition & 1 deletion modules/privatelink/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ variable "relay_aws_vpc_endpoint_id" {
variable "account_id" {
type = string
description = "Databricks Account ID"
}
}
4 changes: 2 additions & 2 deletions modules/privatelink/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
databricks = {
source = "databricks/databricks"
version = ">= 1.55"
version = "~>1.0"
}
}
}
}
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
3 changes: 1 addition & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ variable "iam_cross_account_workspace_role_config" {
})
default = {}
}

################################################################################
# Storage root bucket config
################################################################################
Expand Down Expand Up @@ -151,4 +150,4 @@ variable "private_access_settings_config" {
public_access_enabled = optional(bool, true)
})
default = {}
}
}
6 changes: 3 additions & 3 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ 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"
version = "~> 0.11"
}
}
}
}

0 comments on commit 3c98d5c

Please sign in to comment.