Skip to content

Commit befaa7a

Browse files
author
Sohan Yadav
authored
Merge pull request #7 from clouddrove/0.14
enable-encrypaction
2 parents 4cdddf9 + eea0d11 commit befaa7a

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

variables.tf

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ variable "managedby" {
3838
# Description : Terraform EFS module variables.
3939
variable "security_groups" {
4040
type = list(string)
41-
description = "Security group IDs to allow access to the EFS"
4241
sensitive = true
42+
description = "Security group IDs to allow access to the EFS"
4343
}
4444

4545
variable "efs_enabled" {
4646
type = bool
47-
description = "Set to false to prevent the module from creating any resources"
4847
default = true
48+
description = "Set to false to prevent the module from creating any resources"
4949
}
5050

5151
variable "creation_token" {
@@ -55,8 +55,8 @@ variable "creation_token" {
5555

5656
variable "vpc_id" {
5757
type = string
58-
description = "VPC ID"
5958
sensitive = true
59+
description = "VPC ID"
6060
}
6161

6262
variable "region" {
@@ -66,51 +66,54 @@ variable "region" {
6666

6767
variable "subnets" {
6868
type = list(string)
69-
description = "Subnet IDs"
7069
sensitive = true
70+
description = "Subnet IDs"
7171
}
7272

7373
variable "availability_zones" {
7474
type = list(string)
75-
description = "Availability Zone IDs"
7675
sensitive = true
76+
description = "Availability Zone IDs"
7777
}
7878

7979
variable "zone_id" {
8080
type = string
81-
description = "Route53 DNS zone ID"
8281
default = ""
8382
sensitive = true
83+
description = "Route53 DNS zone ID"
8484
}
8585

8686
variable "delimiter" {
8787
type = string
88-
description = "Delimiter to be used between `namespace`, `stage`, `name` and `attributes`"
8988
default = "-"
89+
description = "Delimiter to be used between `namespace`, `stage`, `name` and `attributes`"
90+
9091
}
9192

9293
variable "attributes" {
9394
type = list(string)
94-
description = "Additional attributes (e.g. `1`)"
9595
default = []
96+
description = "If true, the file system will be encrypted"
9697
}
9798

9899
variable "tags" {
99100
type = map(string)
100-
description = "Additional tags (e.g. `{ BusinessUnit = \"XYZ\" }`"
101101
default = {}
102+
description = "Additional tags (e.g. `{ BusinessUnit = \"XYZ\" }`"
102103
}
103104

104105
variable "encrypted" {
105106
type = bool
107+
default = true
106108
description = "If true, the file system will be encrypted"
107-
default = false
109+
108110
}
109111

110112
variable "performance_mode" {
111113
type = string
112-
description = "The file system performance mode. Can be either `generalPurpose` or `maxIO`"
113114
default = "generalPurpose"
115+
description = "The file system performance mode. Can be either `generalPurpose` or `maxIO`"
116+
114117
}
115118

116119
variable "provisioned_throughput_in_mibps" {
@@ -120,20 +123,21 @@ variable "provisioned_throughput_in_mibps" {
120123

121124
variable "throughput_mode" {
122125
type = string
123-
description = "Throughput mode for the file system. Defaults to bursting. Valid values: `bursting`, `provisioned`. When using `provisioned`, also set `provisioned_throughput_in_mibps`"
124126
default = "bursting"
127+
description = "Throughput mode for the file system. Defaults to bursting. Valid values: `bursting`, `provisioned`. When using `provisioned`, also set `provisioned_throughput_in_mibps`"
128+
125129
}
126130

127131
variable "mount_target_ip_address" {
128132
type = string
129-
description = "The address (within the address range of the specified subnet) at which the file system may be mounted via the mount target"
130133
default = ""
131134
sensitive = true
135+
description = "The address (within the address range of the specified subnet) at which the file system may be mounted via the mount target"
132136
}
133137

134138
variable "kms_key_id" {
135139
type = string
136-
description = "The ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true."
137140
default = ""
138141
sensitive = true
142+
description = "The ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true."
139143
}

0 commit comments

Comments
 (0)