[master ≡ +0 ~1 -0 !]> terraform -v
Terraform v0.12.15
+ provider.aws v2.41.0
resource "aws_fsx_windows_file_system" "filecluster" {
storage_capacity = 32
throughput_capacity = 128
active_directory_id = data.terraform_remote_state.directory.outputs.directory_id
subnet_ids = [
data.aws_subnet.service[0].id
]
security_group_ids = [
data.aws_security_group.vpc.id
]
}
Support storage capacity as per GUI console:
Minimum 32 GiB; Maximum 65536 GiB
Error: expected storage_capacity to be in the range (300 - 65536), got 32
For Windows file systems, valid values are 32 GiB - 65,536 GiB.
The lower size is part of an enhancement the service rolled out last month: https://aws.amazon.com/about-aws/whats-new/2019/11/amazon-fsx-for-windows-file-server-reduces-the-minimum-size-for-file-systems-from-300-gbs-to-32-gbs/
@pmcevoy, @bflad, I wrote a patch for this (#11272), hope it works. It's my first contribution here. I wasn't familiar with the test suite but it seemed to work in the second iteration (I closed the first PR).
Validation for the lower storage_capacity minimum value has been merged and will release with version 2.43.0 of the Terraform AWS Provider, tomorrow. Thanks to @mrgiles for the implementation. 👍
This has been released in version 2.43.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!
Most helpful comment
The lower size is part of an enhancement the service rolled out last month: https://aws.amazon.com/about-aws/whats-new/2019/11/amazon-fsx-for-windows-file-server-reduces-the-minimum-size-for-file-systems-from-300-gbs-to-32-gbs/