The AWS CLI provides comprehensive options for configuring the root volume when creating an FSx for OpenZFS volume from a snapshot. These options include settings for storage capacity, NFS exports, user and group quotas, data compression types, and copy strategies among others.
Currently, the Terraform AWS provider's aws_fsx_openzfs_volume resource does not offer the same level of configurability directly. Instead, it primarily relies on the configurations of the snapshot from which the volume is created. This limitation restricts users' ability to tailor the newly created FSx volumes according to their specific needs directly via Terraform.
It would be nice if, when the root volume configuration is specified in the FSx resource, the backend code could smartly apply it after the snapshot is restored.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
The AWS CLI provides comprehensive options for configuring the root volume when creating an FSx for OpenZFS volume from a snapshot. These options include settings for storage capacity, NFS exports, user and group quotas, data compression types, and copy strategies among others.
Currently, the Terraform AWS provider's aws_fsx_openzfs_volume resource does not offer the same level of configurability directly. Instead, it primarily relies on the configurations of the snapshot from which the volume is created. This limitation restricts users' ability to tailor the newly created FSx volumes according to their specific needs directly via Terraform.
It would be nice if, when the root volume configuration is specified in the FSx resource, the backend code could smartly apply it after the snapshot is restored.
Affected Resource(s) and/or Data Source(s)
No response
Potential Terraform Configuration
References
https://docs.aws.amazon.com/cli/latest/reference/fsx/create-volume.html
Would you like to implement a fix?
No