Skip to content

Commit 6c3613b

Browse files
committed
Fixed an invalid valadation statement that CoPilot added.
1 parent c553f5f commit 6c3613b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Solutions/FSxN-as-PVC-for-EKS/terraform/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ variable "fsxn_throughput_capacity" {
2222
default = 128
2323
description = "The throughput capacity to be allocated to the FSxN cluster. Must be 128, 256, 512, 1024, 2048, 4096."
2424
validation {
25-
condition = var.fsxn_throughput_capacity in [128, 256, 512, 1024, 2048, 4096]
25+
condition = contains([128, 256, 512, 1024, 2048, 4096], var.fsxn_throughput_capacity)
2626
error_message = "The throughput capacity must be 128, 256, 512, 1024, 2048, or 4096."
2727
}
2828
}

0 commit comments

Comments
 (0)