Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FSx: Enable file_system_type_version property for LustreFileSystem construct #31130

Open
2 tasks
LArkema opened this issue Aug 16, 2024 · 1 comment · May be fixed by #31136
Open
2 tasks

FSx: Enable file_system_type_version property for LustreFileSystem construct #31130

LArkema opened this issue Aug 16, 2024 · 1 comment · May be fixed by #31136
Labels
@aws-cdk/aws-fsx Related to Amazon FSx effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2

Comments

@LArkema
Copy link

LArkema commented Aug 16, 2024

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

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.152.0

Environment details (OS name and version, etc.)

Various

@LArkema LArkema added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Aug 16, 2024
@github-actions github-actions bot added the @aws-cdk/aws-fsx Related to Amazon FSx label Aug 16, 2024
@ashishdhingra ashishdhingra self-assigned this Aug 16, 2024
@ashishdhingra ashishdhingra added p2 investigating This issue is being investigated and/or work is in progress to resolve the issue. and removed needs-triage This issue or PR still needs to be triaged. labels Aug 16, 2024
@ashishdhingra
Copy link
Contributor

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.

@ashishdhingra ashishdhingra added effort/small Small work item – less than a day of effort and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Aug 16, 2024
@ashishdhingra ashishdhingra removed their assignment Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-fsx Related to Amazon FSx effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants