Skip to content

Commit f8d4959

Browse files
committed
Came to the conclusion that it is a bug with the AWS provider so there is no elegant way to handle setting the disk_iops_configuration to AUTOMATIC.
1 parent 0fd5dea commit f8d4959

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Terraform/deploy-fsx-ontap/module/variables.tf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,9 @@ variable "daily_backup_start_time" {
114114
}
115115

116116
variable "disk_iops_configuration" {
117-
description = "The SSD IOPS configuration for the file system. Valid modes are 'AUTOMATIC' (3 iops per GB provided) or 'USER_PROVISIONED'. If you choose USER_PROVISIONED, you must also provide the 'iops' variable set to the desired number of iops."
117+
description = "The SSD IOPS configuration for the file system. Valid modes are 'AUTOMATIC' (3 iops per GB provided) or 'USER_PROVISIONED'. NOTE: Due to a bug in 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."
118118
type = map(any)
119-
default = {
120-
mode = "AUTOMATIC"
121-
}
119+
default = {}
122120
}
123121

124122
variable "fsx_secret_name" {

0 commit comments

Comments
 (0)