34 lines
892 B
Terraform
34 lines
892 B
Terraform
|
|
||
|
#Default geoserver vol_data_device
|
||
|
variable "geo_instance_basic_data" {
|
||
|
type = map(string)
|
||
|
default = {
|
||
|
vol_data_device = "/dev/vdb"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
variable "user_data_var_file" {
|
||
|
type = map(string)
|
||
|
default = {
|
||
|
user_data_file = "../../openstack_vm_data_scripts/ubuntu1804.sh"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#Default geo_service_instances_map is EMPTY. Override it to create a proper geoserver plan
|
||
|
variable "geo_service_instances_map" {
|
||
|
type = map(object({
|
||
|
name = string
|
||
|
description = string
|
||
|
flavor = string
|
||
|
networks = list(string)
|
||
|
security_groups = list(string)
|
||
|
block_device_uuid = string
|
||
|
vol_data_name = string
|
||
|
vol_data_size = string
|
||
|
}))
|
||
|
default = {
|
||
|
geoserver = { name = "", description = "", flavor = "", networks = [], security_groups = [], block_device_uuid = "", vol_data_name = "", vol_data_size = "" }
|
||
|
}
|
||
|
|
||
|
}
|