You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Terraform/fsxn-replicate/DR_FSxN_variables.tf
+11-59Lines changed: 11 additions & 59 deletions
Original file line number
Diff line number
Diff line change
@@ -1,63 +1,15 @@
1
-
variable"prime_hostname" {
2
-
description="Hostname or IP address of primary cluster."
3
-
type=string
4
-
# Development FSxN
5
-
default="198.19.253.210"
6
-
}
7
-
8
-
variable"prime_fsxid" {
9
-
description="FSx ID of the primary cluster."
10
-
type=string
11
-
# Development FSxN
12
-
default="fs-020de2687bd98ccf7"
13
-
}
14
-
15
-
variable"prime_clus_name" {
16
-
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."
17
-
type=string
18
-
default="primary_clus"
19
-
}
20
-
21
-
variable"prime_svm" {
22
-
description="Name of svm for replication in the primary cluster."
23
-
type=string
24
-
default="vs1cli"
25
-
}
26
-
27
-
variable"prime_cluster_vserver" {
28
-
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"
29
-
type=string
30
-
default="FsxId020de2687bd98ccf7"
31
-
}
32
-
33
-
variable"prime_aws_region" {
34
-
description="AWS regionfor the Primary ONTAP FSxN"
35
-
type=string
36
-
default="us-west-2"
37
-
}
1
+
# Variables for the Disaster Recovery FSxN system to be created.
38
2
39
3
variable"dr_aws_region" {
40
4
description="AWS regionfor the Secondary(DR) ONTAP FSxN"
41
5
type=string
42
-
default="us-west-2"
43
-
}
44
-
45
-
variable"username_pass_secrets_id" {
46
-
description="Name of secret ID in AWS secrets"
47
-
type=string
48
-
default="rvwn_replicate_ontap_creds"
49
-
}
50
-
51
-
variable"list_of_volumes_to_replicate" {
52
-
description="list of volumes to replicate to dr fsxn"
description="The name to assign to the destination FSxN file system."
59
11
type=string
60
-
default="terraform-dr-fsxn"
12
+
default=""
61
13
}
62
14
63
15
variable"dr_clus_name" {
@@ -80,15 +32,15 @@ variable "dr_fsx_subnets" {
80
32
description="The primary subnet ID, and secondary subnet ID if you are deploying in a Multi AZ environment, 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."
81
33
type=map(any)
82
34
default={
83
-
"primarysub"="subnet-8fba81f8"
35
+
"primarysub"="subnet-11111111"
84
36
"secondarysub"="subnet-33333333"
85
37
}
86
38
}
87
39
88
40
variable"dr_fsx_capacity_size_gb" {
89
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."
description="Hostname or IP address of primary cluster."
3
+
type=string
4
+
default=""
5
+
}
6
+
7
+
variable"prime_fsxid" {
8
+
description="FSx ID of the primary cluster."
9
+
type=string
10
+
default=""
11
+
}
12
+
13
+
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."
15
+
type=string
16
+
default="primary_clus"
17
+
}
18
+
19
+
variable"prime_svm" {
20
+
description="Name of svm for replication in the primary cluster."
21
+
type=string
22
+
default=""
23
+
}
24
+
25
+
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"
27
+
type=string
28
+
default=""
29
+
}
30
+
31
+
variable"prime_aws_region" {
32
+
description="AWS regionfor the Primary ONTAP FSxN"
33
+
type=string
34
+
default=""
35
+
}
36
+
37
+
variable"username_pass_secrets_id" {
38
+
description="Name of secret ID in AWS secrets"
39
+
type=string
40
+
default=""
41
+
}
42
+
43
+
variable"list_of_volumes_to_replicate" {
44
+
description="list of volumes to replicate to dr fsxn"
45
+
type=list(string)
46
+
default=[]
47
+
}
48
+
49
+
variable"validate_certs" {
50
+
description="Do we validate the cluster certs (true or false)"
Copy file name to clipboardExpand all lines: Terraform/fsxn-replicate/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ This repository contains a method to take an existing FSxN system and replicate
7
7
8
8
You will need to define some key characteristics of your destination FSxN cluster to be created, such as deployment type and througput, full list below. You also will need to define the source SVM and list of volumes to replicate, and replication parameters.
9
9
10
-
These values can be found in the following .tfvars files: Primary_FSxN_variables.tfvar and DR_FSxN_variables.tfvar
10
+
These values can be found in the following variables files: Primary_FSxN_variables.tf and DR_FSxN_variables.tf
0 commit comments