-
Notifications
You must be signed in to change notification settings - Fork 1
/
machine_images.tpl
36 lines (36 loc) · 927 Bytes
/
machine_images.tpl
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
26
27
28
29
30
31
32
33
34
35
36
variable "f5xc_ce_machine_image" {
type = object({
ingress_gateway = object({
{{- range $key, $val := .ingress_gateway}}
{{$key}} = string
{{- end}}
})
ingress_egress_gateway = object({
{{- range $key, $val := .ingress_egress_gateway}}
{{$key}} = string
{{- end}}
})
voltstack_gateway = object({
{{- range $key, $val := .voltstack_gateway}}
{{$key}} = string
{{- end}}
})
})
default = {
ingress_gateway = {
{{- range $key, $val := .ingress_gateway}}
{{$key}} = "{{$val.ami}}"
{{- end}}
}
ingress_egress_gateway = {
{{- range $key, $val := .ingress_egress_gateway}}
{{$key}} = "{{$val.ami}}"
{{- end}}
}
voltstack_gateway = {
{{- range $key, $val := .voltstack_gateway}}
{{$key}} = "{{$val.ami}}"
{{- end}}
}
}
}