Skip to content

Commit 0ed4335

Browse files
committed
Remove site variable from Redis and PostgreSQL
1 parent ef0befb commit 0ed4335

File tree

4 files changed

+2
-12
lines changed

4 files changed

+2
-12
lines changed

google/redis/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module "netbox-vm" {
4242

4343
role = "Redis"
4444
platform = "Google Cloud"
45-
site = coalesce(var.site, "Google Cloud ${google_redis_instance.main.region}")
45+
site = "Google Cloud ${google_redis_instance.main.region}"
4646

4747
interface = "internal"
4848
ip_address = google_redis_instance.main.host

google/redis/variables.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ variable "name" {
1616
default = "redis"
1717
}
1818

19-
variable "site" {
20-
type = any
21-
default = null
22-
}
23-
2419
variable "network" {
2520
type = string
2621
}

google/sql/postgresql/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ module "netbox-vm" {
9090

9191
role = "PostgreSQL"
9292
platform = "Google Cloud"
93-
site = coalesce(var.site, "Google Cloud ${google_sql_database_instance.main.region}")
93+
site = "Google Cloud ${google_sql_database_instance.main.region}"
9494

9595
interface = "internal"
9696
ip_address = google_sql_database_instance.main.private_ip_address

google/sql/postgresql/variables.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ variable "name" {
1616
default = "postgres"
1717
}
1818

19-
variable "site" {
20-
type = any
21-
default = null
22-
}
23-
2419
variable "database_version" {
2520
type = string
2621
default = "POSTGRES_17"

0 commit comments

Comments
 (0)