diff --git a/Terraform/deploy-fsx-ontap/README.md b/Terraform/deploy-fsx-ontap/README.md index 1b7582f..835b3e1 100644 --- a/Terraform/deploy-fsx-ontap/README.md +++ b/Terraform/deploy-fsx-ontap/README.md @@ -119,10 +119,7 @@ module "fsxontap" { source = "github.com/Netapp/FSxN-Samples/Terraform/deploy-fsx-ontap" vpc_id = "" - fsx_subnets = { - "primarysub" = "" - "secondarysub" = "" - } + fsx_subnets = ["", ""] create_sg = // true to create Security Group for the Fs / false otherwise cidr_for_sg = "" fsx_admin_password = "" diff --git a/Terraform/deploy-fsx-ontap/variables.tf b/Terraform/deploy-fsx-ontap/variables.tf index a6f88a1..11fa36b 100644 --- a/Terraform/deploy-fsx-ontap/variables.tf +++ b/Terraform/deploy-fsx-ontap/variables.tf @@ -23,12 +23,9 @@ variable "vpc_id" { } variable "fsx_subnets" { - description = "The IDs of the subnets fro which the FSxN filesystem will be assigned IP addresses" - type = map(any) - default = { - "primarysub" = "" - "secondarysub" = "" - } + description = "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." + type = list(any) + default = null } variable "fsx_capacity_size_gb" {