-
Notifications
You must be signed in to change notification settings - Fork 9
/
variables.tf
47 lines (39 loc) · 1.14 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
# If you keep these variables as HCL after they are created
# You must surround strings in "" 's. For a successful plan.
variable "word_count" {
type = number
description = "A locally executed script will wait this amout of time between retries"
}
variable "sleep_seconds" {
type = number
description = "A locally executed script will wait this amout of time between retries"
}
variable "availability_zones" {
type = list(string)
description = "A list of chosen aws availability zones."
}
variable "secret_key" {
type = string
sensitive = true
description = "Your secret key."
}
# This variable has a default value and will not show up
# in the variable editor
variable "aws_region_default" {
type = string
description = "Your aws region"
default = "usw1"
}
variable "aws_region_no_default" {
type = string
description = "Choose your aws region. Must be usw1 or usw2"
}
variable "cpu_capacity" {
type = number
description = "Number of CPUs for your service. Must be less than 8"
sensitive = false
validation {
condition = var.cpu_capacity < 8
error_message = "See the SRE team about capacity management."
}
}