forked from cloudposse/terraform-aws-efs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
117 lines (99 loc) · 3.16 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
variable "security_group_enabled" {
type = bool
description = "Whether to create default Security Group for EFS."
default = true
}
variable "security_group_description" {
type = string
default = "EFS Security Group"
description = "The Security Group description."
}
variable "security_group_use_name_prefix" {
type = bool
default = false
description = "Whether to create a default Security Group with unique name beginning with the normalized prefix."
}
variable "security_group_rules" {
type = list(any)
default = [
{
type = "egress"
from_port = 0
to_port = 65535
protocol = "-1"
cidr_blocks = ["0.0.0.0/0"]
description = "Allow all outbound traffic"
}
]
description = <<-EOT
A list of maps of Security Group rules.
The values of map is fully complated with `aws_security_group_rule` resource.
To get more info see https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule .
EOT
}
variable "security_groups" {
type = list(string)
default = []
description = "A list of Security Group IDs to associate with EFS."
}
variable "access_points" {
type = map(map(map(any)))
default = {}
description = "A map of the access points you would like in your EFS volume"
}
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 = true
}
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 = null
}
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 = ""
}