This repository was archived by the owner on Apr 3, 2025. It is now read-only.
forked from cloudposse/terraform-aws-efs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
120 lines (100 loc) · 3.1 KB
/
variables.tf
File metadata and controls
120 lines (100 loc) · 3.1 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
119
120
variable "namespace" {
type = string
default = ""
description = "Namespace, which could be your organization name or abbreviation, e.g. 'eg' or 'cp'"
}
variable "environment" {
type = string
default = ""
description = "Environment, e.g. 'prod', 'staging', 'dev', 'pre-prod', 'UAT'"
}
variable "stage" {
type = string
default = ""
description = "Stage, e.g. 'prod', 'staging', 'dev', OR 'source', 'build', 'test', 'deploy', 'release'"
}
variable "name" {
type = string
default = ""
description = "Solution name, e.g. 'app' or 'jenkins'"
}
variable "enabled" {
type = bool
default = true
description = "Set to false to prevent the module from creating any resources"
}
variable "delimiter" {
type = string
default = "-"
description = "Delimiter to be used between `namespace`, `environment`, `stage`, `name` and `attributes`"
}
variable "attributes" {
type = list(string)
default = []
description = "Additional attributes (e.g. `1`)"
}
variable "tags" {
type = map(string)
default = {}
description = "Additional tags (e.g. `map('BusinessUnit','XYZ')`"
}
variable "security_groups" {
type = list(string)
description = "Security group IDs to allow access to the EFS"
}
variable "vpc_id" {
type = string
description = "VPC ID"
}
variable "region" {
type = string
description = "AWS Region"
}
variable "subnets" {
type = list(string)
description = "Subnet IDs"
}
variable "zone_id" {
type = string
description = "Route53 DNS zone ID"
default = ""
}
variable "encrypted" {
type = bool
description = "If true, the file system will be encrypted"
default = false
}
variable "kms_key_id" {
type = string
description = "If set, use a specific KMS key"
default = null
}
variable "performance_mode" {
type = string
description = "The file system performance mode. Can be either `generalPurpose` or `maxIO`"
default = "generalPurpose"
}
variable "provisioned_throughput_in_mibps" {
default = 0
description = "The throughput, measured in MiB/s, that you want to provision for the file system. Only applicable with `throughput_mode` set to provisioned"
}
variable "throughput_mode" {
type = string
description = "Throughput mode for the file system. Defaults to bursting. Valid values: `bursting`, `provisioned`. When using `provisioned`, also set `provisioned_throughput_in_mibps`"
default = "bursting"
}
variable "mount_target_ip_address" {
type = string
description = "The address (within the address range of the specified subnet) at which the file system may be mounted via the mount target"
default = ""
}
variable "dns_name" {
type = string
description = "Name of the CNAME record to create"
default = ""
}
variable "transition_to_ia" {
type = string
description = "Indicates how long it takes to transition files to the IA storage class. Valid values: AFTER_7_DAYS, AFTER_14_DAYS, AFTER_30_DAYS, AFTER_60_DAYS and AFTER_90_DAYS"
default = ""
}