-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathvariables.tf
More file actions
118 lines (98 loc) · 2.9 KB
/
variables.tf
File metadata and controls
118 lines (98 loc) · 2.9 KB
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
variable "app_name" {
type = string
}
variable "certificate_arn" {
type = string
description = "The ARN of the certificate to use for the application"
default = null
}
variable "default_region" {
description = "default region for the project"
type = string
}
variable "domain_name" {
type = string
description = "The fully qualified domain name for the application"
default = null
}
variable "enable_command_execution" {
type = bool
description = "Enables the ability to manually execute commands on running service containers using AWS ECS Exec"
default = false
}
variable "enable_https" {
type = bool
description = "Whether to enable HTTPS for the application"
default = false
}
variable "enable_identity_provider" {
type = bool
description = "Enables identity provider"
default = false
}
variable "enable_notifications" {
type = bool
description = "Enables notifications"
default = false
}
variable "enable_waf" {
type = bool
description = "Enables Web Application Firewall (WAF) protection for the application load balancer"
default = true
}
variable "environment" {
description = "name of the application environment (e.g. dev, staging, prod)"
type = string
}
variable "extra_identity_provider_callback_urls" {
type = list(string)
description = "List of additional URLs that the identity provider will redirect the user to after a successful sign-in. Used for local development."
default = []
}
variable "extra_identity_provider_logout_urls" {
type = list(string)
description = "List of additional URLs that the identity provider will redirect the user to after signing out. Used for local development."
default = []
}
variable "feature_flag_overrides" {
type = map(string)
description = "Map of overrides for feature flags"
default = {}
validation {
condition = length(setsubtract(keys(var.feature_flag_overrides), keys(local.feature_flag_defaults))) == 0
error_message = "All features in feature_flag_overrides must be declared in feature_flag_defaults."
}
}
variable "has_database" {
type = bool
}
variable "has_incident_management_service" {
type = bool
}
variable "network_name" {
description = "Human readable identifier of the network / VPC"
type = string
}
variable "project_name" {
type = string
}
variable "service_cpu" {
type = number
default = 256
}
variable "service_desired_instance_count" {
type = number
default = 1
}
variable "service_memory" {
type = number
default = 512
}
variable "service_override_extra_environment_variables" {
type = map(string)
description = <<EOT
Map that overrides the default extra environment variables defined in environment-variables.tf.
Map from environment variable name to environment variable value
EOT
default = {}
}