-
Notifications
You must be signed in to change notification settings - Fork 3
/
variable.tf
57 lines (47 loc) · 851 Bytes
/
variable.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
variable "spotinst_token" {
type = string
sensitive = true
}
variable "spotinst_account" {
type = string
}
variable "aws_region" {
type = string
}
variable "aws_profile" {
type = string
}
variable "cluster_name" {
type = string
}
variable "cluster_version" {
type = string
default = "1.30"
}
variable "vpc_name" {
type = string
}
variable "vpc_cidr" {
type = string
}
variable "target_group" {
type = map(string)
default = {
"Protocol" = "TCP"
"Port" = "443"
}
}
variable "shutdown_time_windows" {
type = list(string)
default = [ # GMT
"Fri:23:30-Mon:07:30", # Weekends
"Mon:23:30-Tue:07:30", # Weekday evenings
"Tue:23:30-Wed:07:30",
"Wed:23:30-Thu:07:30",
"Thu:23:30-Fri:07:30"
]
}
variable "enable_shutdown_hours" {
type = bool
default = false
}