Open LArkema opened 3 weeks ago
CfnFileSystem and AWS::FSx::FileSystem appear to support FileSystemTypeVersion
, which is not modeled in L2 LustreFileSystem construct.
@LArkema Thanks for opening the issue. Feel free to contribute PR, if possible, that could be reviewed by the team.
Describe the feature
When creating a FSx Lustre File System with the fsx.LustreFileSystem() construct, users should be able to specify the File System Version just like they are able to do with the CloudFormation construct (using the
file_system_type_version
property). Currently, CDK creates a 2.10 File System, which lacks many core FSx features.At the very least, CDK should create the File System with the latest / recommended version. Per the CloudFormation docs "2.15 is supported by all Lustre deployment types and is recommended for all new file systems." Per the Getting Started docs, "All FSx for Lustre file systems are built on Lustre version 2.15 when created using the Amazon FSx console."
Use Case
When creating a FSx filesystem with CDK, I want to be able to use the latest version of the File System, not be stuck with version 2.10. While I can get around the problem by using the CfnFileSystem Resource, CDK is much preferred.
Proposed Solution
Add a property to the CDK construct that maps to the equivalent property for the CloudFormation 'file_system_type_version' property, and/or update the default Lustre version to 2.15
Other Information
No response
Acknowledgements
CDK version used
2.152.0
Environment details (OS name and version, etc.)
Various