34 lines
1.1 KiB
Terraform
34 lines
1.1 KiB
Terraform
|
|
||
|
#The URI-Resolver instances
|
||
|
variable "smartgears_service_instances_map" {
|
||
|
type = map(object({
|
||
|
name = string
|
||
|
description = string
|
||
|
flavor = string
|
||
|
networks = list(string)
|
||
|
security_groups = list(string)
|
||
|
block_device_uuid = string
|
||
|
}))
|
||
|
default = {
|
||
|
# URI-Resolver instance 1
|
||
|
uri_resolver_service_i1 = {
|
||
|
name = "data",
|
||
|
description = "The data instance",
|
||
|
flavor = "m1.medium",
|
||
|
networks = ["d4s-dev-cloud-main"],
|
||
|
security_groups = ["default", "http and https from the load balancers"]
|
||
|
block_device_uuid = "7ed6a2cd-2b07-482e-8ce4-f018dff16c89" #ubuntu_18_04.uuid of DEV
|
||
|
},
|
||
|
# URI-Resolver instance 2
|
||
|
uri_resolver_service_i2 = {
|
||
|
name = "data1",
|
||
|
description = "The data1 instance",
|
||
|
flavor = "m1.medium",
|
||
|
networks = ["d4s-dev-cloud-main"],
|
||
|
security_groups = ["default", "http and https from the load balancers"]
|
||
|
block_device_uuid = "7ed6a2cd-2b07-482e-8ce4-f018dff16c89" #ubuntu_18_04.uuid of DEV
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|