-
Notifications
You must be signed in to change notification settings - Fork 0
/
locals.tf
25 lines (25 loc) · 838 Bytes
/
locals.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
locals {
deployment = {
nodered = {
container_count = length(var.ext_port["nodered"][terraform.workspace])
image = var.image["nodered"][terraform.workspace]
int = 1880
ext = var.ext_port["nodered"][terraform.workspace]
container_path = "/data"
}
influxdb = {
container_count = length(var.ext_port["influxdb"][terraform.workspace])
image = var.image["influxdb"][terraform.workspace]
int = 8086
ext = var.ext_port["influxdb"][terraform.workspace]
container_path = "/var/lib/influxdb"
}
grafana = {
container_count = length(var.ext_port["grafana"][terraform.workspace])
image = var.image["grafana"][terraform.workspace]
int = 3000
ext = var.ext_port["grafana"][terraform.workspace]
container_path = "/var/lib/grafana"
}
}
}