Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set iops configuration to null (default) #69

Merged
merged 2 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Terraform/deploy-fsx-ontap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ terraform apply -y
| cidr_for_sg | cide block to be used for the ingress rules | `string` | `"0.0.0.0/0"` | no |
| create_sg | Determines whether the SG should be deployed as part of this execution or not | `bool` | `false` | no |
| 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 |
| disk_iops_configuration | The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system | `map(any)` | <pre>{<br> "iops": 3000,<br> "mode": "AUTOMATIC"<br>}</pre> | no |
| disk_iops_configuration | The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system | `map(any)` | `null` | no |
| fsx_capacity_size_gb | The storage capacity (GiB) of the FSxN file system. Valid values between 1024 and 196608 | `number` | `1024` | no |
| fsx_deploy_type | The filesystem deployment type. Supports MULTI_AZ_1 and SINGLE_AZ_1 | `string` | `"SINGLE_AZ_1"` | no |
| 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 |
Expand Down
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