2023-11-20 18:37:55 +01:00
|
|
|
variable "timescaledb_server_data" {
|
2023-11-17 16:50:33 +01:00
|
|
|
type = map(string)
|
|
|
|
default = {
|
|
|
|
node_name = "timescaledb"
|
2023-11-20 18:37:55 +01:00
|
|
|
node_data_disk_size = 20
|
2023-11-17 16:50:33 +01:00
|
|
|
node_data_disk_device = "/dev/vdb"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-13 16:55:40 +01:00
|
|
|
variable "timescaledb_affinity_policy" {
|
|
|
|
default = "soft-anti-affinity"
|
|
|
|
}
|
|
|
|
|
2023-11-17 16:50:33 +01:00
|
|
|
variable "timescaledb_node_flavor" {
|
|
|
|
default = ""
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "timescaledb_nodes_count" {
|
2023-11-20 18:37:55 +01:00
|
|
|
default = 0
|
2023-11-17 16:50:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "timescaledb_ip" {
|
|
|
|
type = list(string)
|
|
|
|
default = []
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "timescaledb_cidr" {
|
|
|
|
type = list(string)
|
|
|
|
default = [ ]
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "timescaledb_net" {
|
|
|
|
type = map(string)
|
|
|
|
default = {
|
|
|
|
network_name = "timescaledb-net"
|
|
|
|
network_description = "Network used by the Timescaledb cluster and to access the service"
|
|
|
|
network_cidr = "192.168.11.0/24"
|
|
|
|
allocation_pool_start = "192.168.11.20"
|
|
|
|
allocation_pool_end = "192.168.11.254"
|
|
|
|
}
|
|
|
|
}
|