-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
61 lines (51 loc) · 1.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
variable "name" {}
variable "env" {}
variable "parameters" {
type = map(string)
description = "Map of SSM ParameterStore parameters to store - by default, /$var.env/$var.name/*"
}
variable "global_parameters" {
type = map(string)
description = "Map of SSM ParameterStore global parameters to store - by default, /$var.env/global/*"
default = {}
}
variable "app_secrets" {
type = list(any)
description = "List of SSM ParameterStore secret parameters - by default, /$var.env/$var.name/*"
default = []
}
variable "global_secrets" {
type = list(any)
description = "List of SSM ParameterStore global secrets - by default, /$var.env/global/*"
default = []
}
variable "public_subnets" {
type = list(any)
description = "VPC Public subnets to place SLS resources"
default = []
}
variable "private_subnets" {
type = list(any)
description = "VPC Private subnets to place SLS resources"
default = []
}
variable "security_groups" {
type = list(any)
description = "Security groups to assign to SLS"
default = []
}
variable "vpc_id" {
type = string
description = "AWS VPC ID"
default = "-"
}
variable "serialize_lists" {
type = bool
description = "Whether to serialize lists like subnets and security groups into a one SSM parameter"
default = true
}
variable "join_lists" {
type = bool
description = "Whether to join lists like subnets and security groups into a one SSM parameter string with comma separator"
default = false
}