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/deploy-fsx-ontap/module/README.md
+15-16Lines changed: 15 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,9 +133,9 @@ module "fsxontap" {
133
133
primarysub = "<YOUR-PRIMARY-SUBNET>"
134
134
secondarysub = "<YOUR-SECONDAY-SUBNET>"
135
135
}
136
-
create_sg = <true / false> // true to create Security Group for the Fs / false otherwise
136
+
create_sg = true // true to create Security Group for the Fs / false otherwise
137
137
cidr_for_sg = "<YOUR-CIDR-BLOCK>"
138
-
fsx_admin_password = "<YOUR_PASSWORD>"
138
+
fsx_secret_name = "<YOUR_SECRET>" // The name of a secret in AWS Secrets Manager that contains the FSxN admin password.
139
139
tags = {
140
140
Terraform = "true"
141
141
Environment = "dev"
@@ -147,7 +147,7 @@ module "fsxontap" {
147
147
> To Override default values assigned to other variables in this module, add them to this source block as well. The above source block includes the minimum requirements only.
148
148
149
149
> [!NOTE]
150
-
> The default deployment type is: MULTI_AZ_1. For SINGLE AZ deployment, override the `fsx_deploy_type` variable in the module block, and make sure to only provide one subnet as `primarysub`
150
+
> The default deployment type is: MULTI_AZ_1. For SINGLE AZ deployment, set the `fsx_deploy_type` variable to SINGLE_AZ_1 in the module block.
151
151
152
152
Please read the vriables descriptions in `variables.tf` file for more information regarding the variables passed to the module block.
| backup_retention_days | The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days. |`number`|`0`| no |
261
259
| cidr_for_sg | cidr block to be used for the created security ingress rules. |`string`|`"10.0.0.0/8"`| no |
262
-
| create_sg | Determines whether the SG should be deployed as part of this execution or not |`bool`|`true`| no |
260
+
| create_sg | Determines whether the SG should be deployed as part of this deployment or not.|`bool`|`true`| no |
263
261
| daily_backup_start_time | 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. |`string`|`"00:00"`| no |
264
262
| disk_iops_configuration | The SSD IOPS configuration forthe file system. Valid modes are 'AUTOMATIC' (3 iops per GB provided) or 'USER_PROVISIONED'. NOTE: Due to a bugin the AWS FSx provider, if you want AUTOMATIC, then leave this variable empty. If you want USER_PROVIDEDED, then add a 'mode=USER_PROVISIONED' (with USER_PROVISIONED enclosed in doube quotes) and 'iops=number' where number is between 1 and 160000. |`map(any)`|`{}`| no |
265
263
| fsx_capacity_size_gb | The storage capacity (GiB) of the FSxN file system. Valid values between 1024 and 196608 |`number`|`1024`| no |
266
264
| fsx_deploy_type | The filesystem deployment type. Supports MULTI_AZ_1 and SINGLE_AZ_1 |`string`|`"MULTI_AZ_1"`| no |
267
265
| fsx_maintenance_start_time | The preferred start time (in d:HH:MM format) to perform weekly maintenance, in the UTC time zone. |`string`|`"1:00:00"`| no |
268
-
| fsx_secret_name | The name of the secure where the FSxN passwood is stored |`string`|`""`| no |
266
+
| fsx_name | The name to assigne to the FSxN file system. |`string`|`"fsx1"`| no |
267
+
| fsx_secret_name | The name of the secure where the FSxN passwood is stored. |`string`|`""`| no |
269
268
| fsx_subnets | The subnets from where the file system will be accessible from. For MULTI_AZ_1 deployment type, provide both primvary and secondary subnets. For SINGLE_AZ_1 deployment type, only the primary subnet is used. |`map(string)`|<pre>{<br>"primarysub": "subnet-111111111",<br>"secondarysub": "subnet-222222222"<br>}</pre>| no |
270
269
| fsx_tput_in_MBps | The throughput capacity (in MBps) for the file system. Valid values are 128, 256, 512, 1024, 2048, and 4096. |`number`|`128`| no |
271
270
| kms_key_id | ARN for the KMS Key to encrypt the file system at rest, Defaults to an AWS managed KMS Key. |`string`|`null`| no |
272
271
| root_vol_sec_style | Specifies the root volume security style, Valid values are UNIX, NTFS, and MIXED (although MIXED is not recommended). All volumes created under this SVM will inherit the root security style unless the security style is specified on the volume. |`string`|`"UNIX"`| no |
273
272
| route_table_ids | Specifies the VPC route tables in which your file system's endpoints will be created. You should specify all VPC route tables associated with the subnets in which your clients are located. By default, Amazon FSx selects your VPC's default route table. Note, this variable is only used for MULTI_AZ_1 type deployments. |`list(any)`|`null`| no |
274
-
| security_group_id | If you are not creating the SG, provide the ID of the SG to be used |`string`|`""`| no |
273
+
| security_group_id | If you are not creating the security group, provide the ID of the security group to be used.|`string`|`""`| no |
275
274
| source_security_group_id | The ID of the security group to allow access to the FSxN file system. |`string`|`""`| no |
276
-
| svm_name | The name of the Storage Virtual Machine |`string`|`"first_svm"`| no |
277
-
| tags | Tags to be applied to the resources |`map(any)`|<pre>{<br>"Name": "terraform-fsxn"<br>}</pre>| no |
278
-
| vol_info | Details for the volume creation |`map(any)`|<pre>{<br>"bypass_sl_retention": false,<br>"cooling_period": 31,<br>"copy_tags_to_backups": false,<br>"efficiency": true,<br>"junction_path": "/vol1",<br>"sec_style": "UNIX",<br>"size_mg": 1024,<br>"skip_final_backup": false,<br>"tier_policy_name": "AUTO",<br>"vol_name": "vol1",<br>"vol_type": "RW"<br>}</pre>| no |
275
+
| svm_name | The name of the Storage Virtual Machine, (a.k.a. vserver).|`string`|`"first_svm"`| no |
276
+
| tags | Tags to be applied to the FSxN file system. |`map(any)`|`{}`| no |
277
+
| vol_info | Details for the volume creation |`map(any)`|<pre>{<br>"cooling_period": 31,<br>"copy_tags_to_backups": false,<br>"efficiency": true,<br>"junction_path": "/vol1",<br>"sec_style": "UNIX",<br>"size_mg": 1024,<br>"skip_final_backup": false,<br>"snapshot_policy": "default",<br>"tier_policy_name": "AUTO",<br>"vol_name": "vol1",<br>"vol_type": "RW"<br>}</pre>| no |
279
278
| vol_snapshot_policy | Specifies the snapshot policy for the volume |`map(any)`|`null`| no |
280
-
| vpc_id | The ID of the VPC inwhich the FSxN fikesystem should be deployed|`string`|`""`| no |
279
+
| vpc_id | The ID of the VPC inwhere the security group will be created.|`string`|`""`| no |
description="The ID of the VPC in which the FSxN fikesystem should be deployed"
44
+
description="The ID of the VPC in where the security group will be created."
45
45
type=string
46
46
default=""
47
-
validation {
48
-
condition=var.vpc_id!=""
49
-
error_message="You must provide the ID of the VPC in which the FSxN file system should be deployed."
50
-
}
51
47
}
52
48
53
49
variable"fsx_subnets" {
54
50
description="The subnets from where the file system will be accessible from. For MULTI_AZ_1 deployment type, provide both primvary and secondary subnets. For SINGLE_AZ_1 deployment type, only the primary subnet is used."
description="The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days."
Copy file name to clipboardExpand all lines: Terraform/deploy-fsx-ontap/standalone-module/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
@@ -199,7 +199,7 @@ terraform apply
199
199
| fsx_tput_in_MBps | The throughput capacity (in MBps) for the file system. Valid values are 128, 256, 512, 1024, 2048, and 4096. |`number`|`128`| no |
200
200
| svm_name | The name of the Storage Virtual Machine |`string`|`"first_svm"`| no |
201
201
| vol_info | Details for the volume creation |`map(any)`|<pre>{<br>"cooling_period": 31,<br>"efficiency": true,<br>"junction_path": "/vol1",<br>"size_mg": 1024,<br>"tier_policy_name": "AUTO",<br>"vol_name": "vol1"<br>}</pre>| no |
202
-
| vpc_id | The ID of the VPC in which the FSxN fikesystem should be deployed|`string`|`"vpc-11111111"`| no |
202
+
| vpc_id | The ID of the VPC in which the security group will be created.|`string`|`"vpc-11111111"`| no |
0 commit comments