Skip to content

Commit 0805801

Browse files
author
nichollri
committed
Made adjustments and fixes from Keith's comments.
1 parent e2287f0 commit 0805801

File tree

6 files changed

+59
-46
lines changed

6 files changed

+59
-46
lines changed

Terraform/fsxn-replicate/DR_FSxN_variables.tf

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# Variables for the Disaster Recovery FSxN system to be created.
1+
# Variables for the Disaster Recovery FSx for ONTAP file system to be created.
22

33
variable "dr_aws_region" {
4-
description = "AWS regionfor the Secondary(DR) ONTAP FSxN"
4+
description = "AWS region where you want the Secondary(DR) FSx for ONTAP file system."
55
type = string
66
default = ""
77
}
88

99
variable "dr_fsx_name" {
10-
description = "The name to assign to the destination FSxN file system."
10+
description = "The name to assign to the destination FSx for ONTAP file system."
1111
type = string
1212
default = ""
1313
}
@@ -38,7 +38,7 @@ variable "dr_fsx_subnets" {
3838
}
3939

4040
variable "dr_fsx_capacity_size_gb" {
41-
description = "The storage capacity in GiBs of the FSxN file system. Valid values between 1024 (1 TiB) and 1048576 (1 PiB). Gen 1 deployment types are limited to 192 TiB. Gen 2 Multi AZ is limited to 512 TiB. Gen 2 Single AZ is limited to 1 PiB."
41+
description = "The storage capacity in GiBs of the FSx for ONTAP file system. Valid values between 1024 (1 TiB) and 1048576 (1 PiB). Gen 1 deployment types are limited to 192 TiB. Gen 2 Multi AZ is limited to 512 TiB. Gen 2 Single AZ is limited to 1 PiB."
4242
type = number
4343
default = 1024
4444
validation {
@@ -68,13 +68,13 @@ variable "dr_ha_pairs" {
6868
}
6969

7070
variable "dr_endpoint_ip_address_range" {
71-
description = "The IP address range that the FSxN file system will be accessible from. This is only used for Multi AZ deployment types and must be left a null for Single AZ deployment types."
71+
description = "The IP address range that the FSx for ONTAP file system will be accessible from. This is only used for Multi AZ deployment types and must be left a null for Single AZ deployment types."
7272
type = string
7373
default = null
7474
}
7575

7676
variable "dr_route_table_ids" {
77-
description = "An array of routing table IDs that will be modified to allow access to the FSxN file system. This is only used for Multi AZ deployment types and must be left as null for Single AZ deployment types."
77+
description = "An array of routing table IDs that will be modified to allow access to the FSx for ONTAP file system. This is only used for Multi AZ deployment types and must be left as null for Single AZ deployment types."
7878
type = list(string)
7979
default = []
8080
}
@@ -86,7 +86,7 @@ variable "dr_disk_iops_configuration" {
8686
}
8787

8888
variable "dr_tags" {
89-
description = "Tags to be applied to the FSxN file system. The format is '{Name1 = value, Name2 = value}' where value should be enclosed in double quotes."
89+
description = "Tags to be applied to the FSx for ONTAP file system. The format is '{Name1 = value, Name2 = value}' where value should be enclosed in double quotes."
9090
type = map(any)
9191
default = {}
9292
}
@@ -122,7 +122,7 @@ variable "dr_daily_backup_start_time" {
122122
variable "dr_svm_name" {
123123
description = "The name of the Storage Virtual Machine"
124124
type = string
125-
default = ""
125+
default = "fsx_dr"
126126
}
127127

128128
variable "dr_root_vol_sec_style" {
@@ -134,7 +134,7 @@ variable "dr_root_vol_sec_style" {
134134
/*
135135
* These last set of variables have to do with a security group that can be optionally
136136
* created. The security group will have all the ingress rules that will allow access
137-
* to all the protocols that an FSxN supports (e.g. SMB, NFS, etc). See the security_groups.tf
137+
* to all the protocols that an FSx for ONTAP file system supports (e.g. SMB, NFS, etc). See the security_groups.tf
138138
* for more information.
139139
*
140140
* If you decide to create the security group, you can specify either the CIDR block to
@@ -170,19 +170,19 @@ variable "dr_cidr_for_sg" {
170170
}
171171

172172
variable "dr_source_sg_id" {
173-
description = "The ID of the security group to allow access to the FSxN file system. Set to an empty string if you want to use the cidr_for_sg as the source."
173+
description = "The ID of the security group to allow access to the FSx for ONTAP file system. Set to an empty string if you want to use the cidr_for_sg as the source."
174174
type = string
175175
default = ""
176176
}
177177

178178
variable "dr_vpc_id" {
179-
description = "The VPC ID where the DR FSxN and security group will be created."
179+
description = "The VPC ID where the DR FSx for ONTAP file system and security group will be created."
180180
type = string
181181
default = ""
182182
}
183183

184184
variable "dr_username_pass_secrets_id" {
185-
description = "Name of secret ID in AWS secrets"
185+
description = "Name of secret ID in AWS secrets. This secret needs to be in the same region as the DR FSx for ONTAP file system."
186186
type = string
187187
default = ""
188188
}

Terraform/fsxn-replicate/Primary_FSxN_variables.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ variable "prime_hostname" {
55
}
66

77
variable "prime_fsxid" {
8-
description = "FSx ID of the primary cluster."
8+
description = "FSx for ONTAP file system ID of the primary cluster."
99
type = string
1010
default = ""
1111
}
1212

1313
variable "prime_clus_name" {
14-
description = "This is the name of the cluster given for ONTAP TF connection profile. This is a user creatred value, that can be any string. It is referenced in many ONTAP TF resources."
14+
description = "This is the name of the cluster given for ONTAP TerraForm connection profile. This is a user creatred value, that can be any string. It is referenced in many ONTAP TF resources."
1515
type = string
1616
default = "primary_clus"
1717
}
@@ -23,19 +23,19 @@ variable "prime_svm" {
2323
}
2424

2525
variable "prime_cluster_vserver" {
26-
description = "Name of cluster vserver for inter cluster lifs in the primary cluster. This can be found by running network interface show on the source cluster. It will be formatted like this FsxIdxxxxxxxx"
26+
description = "Name of cluster vserver for inter cluster lifs in the primary cluster. This can be found by running network interface show on the source cluster (network interface show -services default-intercluster). It will be formatted like this FsxIdxxxxxxxx"
2727
type = string
2828
default = ""
2929
}
3030

3131
variable "prime_aws_region" {
32-
description = "AWS regionfor the Primary ONTAP FSxN"
32+
description = "AWS regionfor the Primary FSx for ONTAP file system"
3333
type = string
3434
default = ""
3535
}
3636

3737
variable "username_pass_secrets_id" {
38-
description = "Name of secret ID in AWS secrets"
38+
description = "Name of secret ID in AWS secrets. This secret needs to be in the same region as the Primary FSx for ONTAP file system."
3939
type = string
4040
default = ""
4141
}
@@ -47,7 +47,7 @@ variable "list_of_volumes_to_replicate" {
4747
}
4848

4949
variable "validate_certs" {
50-
description = "Do we validate the cluster certs (true or false)"
50+
description = "Do we validate the cluster certs (true or false). If true then ONTAP requires valid, non-self signed SSL certificates."
5151
type = string
5252
default = "false"
5353
}

0 commit comments

Comments
 (0)