-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
128 lines (110 loc) · 2.55 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
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
123
124
125
126
127
128
variable "aws_access_key" {
type = string
default = null
}
variable "aws_secret_key" {
type = string
default = null
}
variable "main_cidr_block" {
type = string
description = "main cidr"
default = "172.16.0.0/12"
}
variable "subnets" {
type = list(string)
description = "multi-region subnets"
default = ["172.16.0.0/16", "172.17.0.0/16"]
}
variable "ssl_arn" {
type = map(any)
description = "SSL Certificate ARN"
default = {}
}
/*
variable "vpc_peerings" {
type = map(any)
description = "VPC Peering Ids"
default = {}
}
*/
variable "codestar_connection_arn" {
type = string
description = "CodeStar Connection ARN"
default = null
}
variable "canary_deployments" {
type = bool
description = "Enables canary deployments through TG, ALB stickiness and EB traffic splitting"
default = null
}
variable "environments" {
type = map(any)
description = "Environments"
default = null
}
variable "redis_port" {
type = number
description = "Redis listening port"
default = 6379
}
variable "redis_transit_encryption_enabled" {
type = bool
description = "Redis transit encryption"
default = true
}
variable "ssl_listener" {
type = bool
description = "Application Listens SSL"
default = true
}
variable "preferred_azs" {
type = list(string)
description = "List of preferred azs"
default = ["b", "c"]
}
variable "legacy-vpc" {
type = map(any)
description = "Legacy Infos"
default = null
}
variable "cloudflare-api-token" {
type = string
description = "cloudflare api token with IP PREFIXES Read"
default = ""
}
variable "cloudflare_enabled" {
type = bool
description = "restrict incoming traffic"
default = false
}
variable "redis_node_types" {
type = map(string)
description = "node types"
default = {
true : "cache.r6g.large",
false : "cache.t4g.small"
}
}
variable "cloudwatch_logs_days" {
type = object({
instance = optional(number),
healthd = optional(number)
})
description = "maximum number of days to retain CloudWatch logs"
default = {
"instance" : 90,
"healthd" : 7,
}
}
variable "slack_channel_names" {
type = object({
codepipeline = string,
beanstalk = string
})
nullable = true
default = {
"codepipeline" : null,
"beanstalk" : null
}
}