Skip to content

Commit

Permalink
Add clickhouse_service_location
Browse files Browse the repository at this point in the history
  • Loading branch information
raubitsj committed Aug 23, 2024
1 parent ac992cc commit 7551417
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ module "networking" {
private_link = var.create_private_link
allowed_ip_ranges = var.allowed_ip_ranges
tags = var.tags

clickhouse_endpoint_service_id = var.clickhouse_endpoint_service_id
clickhouse_service_location = var.clickhouse_service_location
}

module "database" {
Expand Down
6 changes: 3 additions & 3 deletions modules/networking/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ variable "allowed_ip_ranges" {
}

variable "clickhouse_endpoint_service_id" {
description = "The ID of the Clickhouse service endpoint"
description = "The ID of the ClickHouse service endpoint"
type = string
default = ""
}

variable "clickhouse_service_location" {
description = "The region where Clickhouse is installed"
description = "The region where ClickHouse service is located"
type = string
default = "eastus2"
default = ""
}
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -297,3 +297,9 @@ variable "clickhouse_endpoint_service_id" {
description = "The service ID of the VPC endpoint service for Clickhouse"
default = ""
}

variable "clickhouse_service_location" {
description = "The region where ClickHouse service is located"
type = string
default = ""
}

0 comments on commit 7551417

Please sign in to comment.