Skip to content

Commit

Permalink
set iops configuration to null (default)
Browse files Browse the repository at this point in the history
  • Loading branch information
Keren Trajtenberg committed Jan 29, 2024
1 parent 0960a11 commit c3d61e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
5 changes: 1 addition & 4 deletions Terraform/deploy-fsx-ontap/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,7 @@ resource "aws_fsx_ontap_file_system" "terraform-fsxn" {
automatic_backup_retention_days = var.backup_retention_days
daily_automatic_backup_start_time = var.daily_backup_start_time
storage_type = var.storage_type
disk_iops_configuration {
iops = var.disk_iops_configuration["iops"]
mode = var.disk_iops_configuration["mode"]
}
disk_iops_configuration = var.disk_iops_configuration
fsx_admin_password = var.fsx_admin_password
route_table_ids = var.route_table_ids
tags = var.tags
Expand Down
7 changes: 2 additions & 5 deletions Terraform/deploy-fsx-ontap/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ variable "fsx_maintenance_start_time" {
variable "kms_key_id" {
description = "ARN for the KMS Key to encrypt the file system at rest, Defaults to an AWS managed KMS Key."
type = string
default = null
default = null
}

variable "backup_retention_days" {
Expand All @@ -76,10 +76,7 @@ variable "daily_backup_start_time" {
variable "disk_iops_configuration" {
description = "The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system"
type = map(any)
default = {
"iops" = 3000
"mode" = "AUTOMATIC"
}
default = null
}

variable "fsx_admin_password" {
Expand Down

0 comments on commit c3d61e3

Please sign in to comment.