infrastructure-as-code/openstack-tf/modules/timescaledb/variables-timescaledb.tf

42 lines
868 B
Terraform
Raw Normal View History

2023-11-20 18:37:55 +01:00
variable "timescaledb_server_data" {
type = map(string)
default = {
2023-12-13 17:17:42 +01:00
node_name = "timescaledb"
node_data_disk_size = 20
node_data_disk_device = "/dev/vdb"
}
}
variable "timescaledb_affinity_policy" {
default = "soft-anti-affinity"
}
variable "timescaledb_node_flavor" {
default = ""
}
variable "timescaledb_nodes_count" {
2023-11-20 18:37:55 +01:00
default = 0
}
variable "timescaledb_ip" {
2023-12-13 17:17:42 +01:00
type = list(string)
default = []
2023-12-13 17:17:42 +01:00
}
variable "timescaledb_cidr" {
2023-12-13 17:17:42 +01:00
type = list(string)
default = []
}
variable "timescaledb_net" {
type = map(string)
default = {
2023-12-13 17:17:42 +01:00
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"
}
}