-
Notifications
You must be signed in to change notification settings - Fork 23
/
variables.tf
44 lines (40 loc) · 1022 Bytes
/
variables.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
variable "location" {
type = string
default = "westeurope"
description = "Desired Azure Region"
}
variable "container_apps" {
type = list(object({
name = string
image = string
tag = string
containerPort = number
ingress_enabled = bool
min_replicas = number
max_replicas = number
cpu_requests = number
mem_requests = string
}))
default = [{
image = "thorstenhans/gopher"
name = "herogopher"
tag = "hero"
containerPort = 8080
ingress_enabled = true
min_replicas = 1
max_replicas = 2
cpu_requests = 0.5
mem_requests = "1.0Gi"
},
{
image = "thorstenhans/gopher"
name = "devilgopher"
tag = "devil"
containerPort = 8080
ingress_enabled = true
min_replicas = 1
max_replicas = 2
cpu_requests = 0.5
mem_requests = "1.0Gi"
}]
}