2023-11-17 16:50:33 +01:00
|
|
|
variable "mongodb_cluster_data" {
|
|
|
|
type = map(string)
|
|
|
|
default = {
|
2023-12-14 12:55:20 +01:00
|
|
|
count = 3
|
|
|
|
name = "mongodb-replica"
|
|
|
|
flavor = "m1.small"
|
|
|
|
data_disk_size = 100
|
2023-11-17 16:50:33 +01:00
|
|
|
image_type_name = "Ubuntu-Focal-20.04"
|
|
|
|
image_type_uuid = "75c23040-2be7-49e9-8029-a16dc9f755d1"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "mongodb_ip" {
|
2023-12-14 12:55:20 +01:00
|
|
|
type = list(string)
|
2023-11-17 16:50:33 +01:00
|
|
|
default = []
|
2023-12-14 12:55:20 +01:00
|
|
|
|
2023-11-17 16:50:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "mongodb_vol_data" {
|
|
|
|
type = map(string)
|
|
|
|
default = {
|
2023-12-14 12:55:20 +01:00
|
|
|
name = "mongodb-vol"
|
|
|
|
flavor = "m1.small"
|
|
|
|
data_disk_size = 100
|
2023-11-17 16:50:33 +01:00
|
|
|
image_type_name = "Ubuntu-Focal-20.04"
|
|
|
|
image_type_uuid = "75c23040-2be7-49e9-8029-a16dc9f755d1"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "mongodb_vol_ip" {
|
|
|
|
default = ""
|
|
|
|
}
|