-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.container.app.tf
122 lines (104 loc) · 3.57 KB
/
variables.container.app.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
variable "container_app_environment_creation_enabled" {
type = bool
default = true
description = "Whether or not to create a Container App Environment."
}
variable "container_app_environment_name" {
type = string
default = null
description = "The name of the Container App Environment. Only required if `container_app_environment_creation_enabled` is `true`."
}
variable "container_app_environment_id" {
type = string
default = null
description = "The resource id of the Container App Environment. Only required if `container_app_environment_creation_enabled` is `false`."
}
variable "container_app_job_name" {
type = string
default = null
description = "The name of the Container App runner job."
}
variable "container_app_job_container_name" {
type = string
default = null
description = "The name of the container for the runner Container Apps job."
}
variable "container_app_placeholder_job_name" {
type = string
default = null
description = "The name of the Container App placeholder job."
}
variable "container_app_placeholder_container_name" {
type = string
default = null
description = "The name of the container for the placeholder Container Apps job."
}
variable "container_app_max_execution_count" {
type = number
default = 100
description = "The maximum number of executions (ADO jobs) to spawn per polling interval."
}
variable "container_app_min_execution_count" {
type = number
default = 0
description = "The minimum number of executions (ADO jobs) to spawn per polling interval."
}
variable "container_app_placeholder_replica_retry_limit" {
type = number
default = 0
description = "The number of times to retry the placeholder Container Apps job."
}
variable "container_app_placeholder_replica_timeout" {
type = number
default = 300
description = "The timeout in seconds for the placeholder Container Apps job."
}
variable "container_app_polling_interval_seconds" {
type = number
default = 30
description = "How often should the pipeline queue be checked for new events, in seconds."
}
variable "container_app_container_cpu" {
type = number
default = 1.0
description = "Required CPU in cores, e.g. 0.5"
}
variable "container_app_container_memory" {
type = string
default = "2Gi"
description = "Required memory, e.g. '250Mb'"
}
variable "container_app_replica_retry_limit" {
type = number
default = 3
description = "The number of times to retry the runner Container Apps job."
}
variable "container_app_replica_timeout" {
type = number
default = 1800
description = "The timeout in seconds for the runner Container Apps job."
}
variable "container_app_environment_variables" {
type = set(object({
name = string
value = string
}))
default = []
description = "List of additional environment variables to pass to the container."
}
variable "container_app_sensitive_environment_variables" {
type = set(object({
name = string
value = string
container_app_secret_name = string
keda_auth_name = optional(string)
}))
sensitive = true
default = []
description = "List of additional sensitive environment variables to pass to the container."
}
variable "container_app_infrastructure_resource_group_name" {
type = string
default = null
description = "The name of the resource group where the Container Apps infrastructure is deployed."
}