-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
70 lines (60 loc) · 1.07 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
variable "root_email" {
type = string
}
variable "github_token" {
type = string
}
variable "organization" {
type = string
}
variable "aws_regions" {
type = list(string)
default = ["us-east-1"]
}
variable "dns_provider" {
type = string
default = "aws"
}
variable "serverless_api_subdomain" {
type = string
default = "sly"
}
variable "stages" {
type = map(
object({
domain = string
subdomain_suffix = optional(string)
env_vars = optional(map(string))
})
)
}
# TODO: Env Vars
variable "public_websites" {
type = map(
object({
template = string
repo_name = optional(string)
})
)
// TODO: Decom procedure
default = {}
}
variable "auth_service" {
type = bool
default = true // TODO: Decom procedure
}
# TODO: Env Vars
variable "serverless_apis" {
type = map(
object({
template = string
repo_name = optional(string)
decommissioned = optional(bool)
})
)
default = {}
}
variable "shared_env_vars" {
type = map(string)
default = {}
}