-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
93 lines (77 loc) · 2.13 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
variable "name" {
description = "Name/name prefix to apply to the resources in the module"
}
variable "image" {
description = "The docker image to use"
}
variable "cpu" {
description = "The CPU limit for this container definition"
default = "64"
}
variable "privileged" {
description = "Gives the container privileged access to the host"
type = bool
default = false
}
variable "memory" {
description = "The memory limit for this container definition"
default = "256"
}
variable "command" {
description = "The command that is passed to the container"
type = list(string)
default = []
}
variable "nofile_soft_ulimit" {
description = "The soft ulimit for the number of files in container"
default = "4096"
}
variable "container_port" {
description = "App port to expose in the container"
default = "8080"
}
variable "container_env" {
description = "Environment variables for this container"
type = map(string)
default = {}
}
variable "labels" {
description = "Labels to be applied to the docker container"
type = map(string)
default = {}
}
variable "metadata" {
description = "DEPRECATED - values passed to this variable will be ignored"
type = map(string)
default = {}
}
variable "mountpoint" {
description = "Mountpoint map with 'sourceVolume' and 'containerPath' and 'readOnly' (optional)."
type = map(string)
default = {}
}
variable "port_mappings" {
description = "JSON document containing an array of port mappings for the container defintion - if set container_port is ignored (optional)."
default = ""
type = string
}
variable "application_secrets" {
type = list(string)
default = []
}
variable "platform_secrets" {
type = list(string)
default = []
}
variable "stop_timeout" {
description = "The duration is seconds to wait before the container is forcefully killed. Default 30s, max 120s."
default = "none"
}
variable "extra_hosts" {
description = "values to add to /etc/hosts in the container"
type = list(object({
hostname = string
ipAddress = string
}))
default = []
}