Skip to content

Commit 80ab578

Browse files
committed
Updated to Gen 2 support.
1 parent 51c02f6 commit 80ab578

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

Terraform/deploy-fsx-ontap/module/variables.tf

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ variable "disk_iops_configuration" {
4141
}
4242

4343
variable "ha_pairs" {
44-
description = "The number of HA pairs in the file system. Valid values are from 1 through 12. Only single AZ Gen 2 deployment type supports more than 1 HA pair."
44+
description = "The number of HA pairs in the file system. Valid values are from 1 through 12. Only the Single AZ Gen 2 deployment type supports more than 1 HA pair."
4545
type = number
4646
default = 1
4747
validation {
@@ -51,12 +51,8 @@ variable "ha_pairs" {
5151
}
5252

5353
variable "subnets" {
54-
description = "The primary subnet ID, and secondary subnet ID if you are deploying in a Multi AZ environment, the file system will be accessible from. For MULTI_AZ deployment types both subnets are required. For SINGLE_AZ deployment type, only the primary subnet is used."
54+
description = "A map specifying the subnets where the management and data endpoints will be deployed. There are two suppoted keys: 'primarysub' which specfies where the 'active' node's endpoint will be located. 'secondarysub' where the standby node's endpoint will be located. Both must be specified if you are deploying a MULTI_AZ file system. Only the primary subnet is used for a SINGLE_AZ file system."
5555
type = map(string)
56-
default = {
57-
"primarysub" = "subnet-111111111"
58-
"secondarysub" = "subnet-222222222"
59-
}
6056
}
6157

6258
variable "endpoint_ip_address_range" {
@@ -74,7 +70,7 @@ variable "route_table_ids" {
7470
variable "maintenance_start_time" {
7571
description = "The preferred start time to perform weekly maintenance, in UTC time zone. The format is 'D:HH:MM' format. D is the day of the week, where 1=Monday and 7=Sunday."
7672
type = string
77-
default = "7:00:00"
73+
default = null
7874
}
7975

8076
variable "kms_key_id" {
@@ -96,13 +92,13 @@ variable "backup_retention_days" {
9692
variable "daily_backup_start_time" {
9793
description = "A recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. Requires automatic_backup_retention_days to be set."
9894
type = string
99-
default = "00:00"
95+
default = null
10096
}
10197

10298
variable "tags" {
103-
description = "Tags to be applied to the FSxN file system. The format is '{Name1 = value, Name2 = value}'."
99+
description = "A map defining tags to be applied to the FSxN file system. The format is '{Name1 = value, Name2 = value}'."
104100
type = map(any)
105-
default = {}
101+
default = null
106102
}
107103

108104
/*
@@ -142,11 +138,11 @@ variable "root_vol_sec_style" {
142138
}
143139

144140
variable "vol_info" {
145-
description = "Details for the volume creation"
141+
description = "Details for the initial volume creation."
146142
type = object({
147143
vol_name = optional(string, "vol1")
148144
junction_path = optional(string, "/vol1")
149-
size_mg = optional(number, 1024)
145+
size_mg = optional(number, 2048000)
150146
efficiency = optional(bool, true)
151147
tier_policy_name = optional(string, "AUTO")
152148
cooling_period = optional(string, 31)

0 commit comments

Comments
 (0)