-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
50 lines (40 loc) · 1.54 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
##Variables for Batch Job Definition
variable "name" {
type = "string"
description = "Specifies the name of the job definition"
}
variable "container_properties" {
type = "string"
description = "A valid container properties provide as a single valid JSON document. This parameters is required if the type parameter is container"
}
variable "parameters" {
type = "string"
description = "Specifies the parameters substitution placeholders to set in the job definition"
default = ""
}
variable "retry_strategy" {
type = "string"
description = "Specifies the retry strategy to use for failed jobs thst are submitted with this job definition. Maximun number of retry_strategy is 1. Defined below"
default = ""
}
variable "timeout" {
type = "string"
description = "Specifies the timeout for jobs so that if job runs longer, AWS Batch terminates the job. Maximun number of timeout is 1"
default = ""
}
variable "type" {
type = "string"
description = "The type of job definition. Must be container"
}
###Variable for retry_strategy
variable "attempts" {
type = "string"
description = "The number of time to move a job to the RUNNABLE status. You may specify between 1 and 10 attemps"
default = ""
}
##Variable for timeout
variable "attempt_duration_seconds" {
type = "string"
description = "The time duration in seconds after which AWS Batch terminates your jobs if they have not finished. The minimum value for the timeout is 60 seconds"
default = "60"
}