forked from cloudposse/terraform-aws-efs
-
Notifications
You must be signed in to change notification settings - Fork 5
/
variables.tf
145 lines (121 loc) · 3.39 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
// Variables specific to module label
variable "attributes" {
description = "Suffix name with additional attributes (policy, role, etc.)"
type = "list"
default = []
}
variable "component" {
description = "TAG: Underlying, dedicated piece of service (Cache, DB, ...)"
type = "string"
default = "UNDEF-EFS"
}
variable "delimiter" {
description = "Delimiter to be used between `name`, `namespaces`, `attributes`, etc."
type = "string"
default = "-"
}
variable "environment" {
description = "Environment (ex: `dev`, `qa`, `stage`, `prod`). (Second or top level namespace. Depending on namespacing options)"
type = "string"
}
variable "monitor" {
description = "TAG: Should resource be monitored"
type = "string"
default = "UNDEF-EFS"
}
variable "name" {
description = "Base name for resource"
type = "string"
}
variable "namespace-env" {
description = "Prefix name with the environment. If true, format is: <env>-<name>"
default = true
}
variable "namespace-org" {
description = "Prefix name with the organization. If true, format is: <org>-<env namespaced name>. If both env and org namespaces are used, format will be <org>-<env>-<name>"
default = false
}
variable "organization" {
description = "Organization name (Top level namespace)"
type = "string"
default = ""
}
variable "owner" {
description = "TAG: Owner of the service"
type = "string"
default = "UNDEF-EFS"
}
variable "product" {
description = "TAG: Company/business product"
type = "string"
default = "UNDEF-EFS"
}
variable "service" {
description = "TAG: Application (microservice) name"
type = "string"
default = "UNDEF-EFS"
}
variable "tags" {
description = "A map of additional tags"
type = "map"
default = {}
}
variable "team" {
description = "TAG: Department/team of people responsible for service"
type = "string"
default = "UNDEF-EFS"
}
// Variables specific to module route53-cluster-hostname
variable "dns_ttl" {
description = "TTL of the DNS record"
type = "string"
default = "60"
}
variable "zone_id" {
description = "Route53 DNS zone ID"
type = "string"
default = ""
}
// Variables specific to this module
variable "enabled" {
description = "Set to false to prevent the module from creating anything"
default = true
}
variable "encrypted" {
description = "If true, the disk will be encrypted"
type = "string"
default = "false"
}
variable "ingress_cidr" {
description = "List of CIDR to allow access to EFS"
type = "list"
default = []
}
variable "kms_key_id" {
description = "ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true"
type = "string"
default = ""
}
variable "performance_mode" {
description = "The file system performance mode. Can be either generalPurpose or maxIO"
type = "string"
default = "generalPurpose"
}
variable "region" {
description = "AWS region"
type = "string"
default = ""
}
variable "security_groups" {
description = "AWS security group IDs to allow to connect to the EFS"
type = "list"
default = []
}
variable "subnets" {
description = "AWS subnet IDs"
type = "list"
}
variable "vpc_id" {
description = "AWS VPC ID"
type = "string"
}