Describe the feature
Currently we have an L2 construct for LustreFileSystem but we are missing the L2 constructs for DataRepositoryAssociation (CfnDataRepositoryAssociation).
Use Case
Use case is to create an FSx backed by an S3 bucket using a DRA. Currently its confusing since the LustreFileSystem L2 construct accepts the LustreConfiguration which defines an importPath and exportPath but its not clear (or verified via the type system) that this cannot be used in conjunction with the DRA.
Docs: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-fsx-filesystem-lustreconfiguration.html
This parameter is not supported for file systems with a data repository association.
Proposed Solution
Create an L2 construct for DataRepositoryAssociation which validates that importPath/exportPath is not set on the LustreFileSystem. And make the documentation clear on how to set up a LustreFileSystem backed by an S3 bucket.
Other Information
No response
Acknowledgements
AWS CDK Library version (aws-cdk-lib)
2.191.0
AWS CDK CLI version
2.1011.0 (build cd4ec06)
Environment details (OS name and version, etc.)
Amazon Linux 2
Describe the feature
Currently we have an L2 construct for
LustreFileSystembut we are missing the L2 constructs forDataRepositoryAssociation(CfnDataRepositoryAssociation).Use Case
Use case is to create an FSx backed by an S3 bucket using a DRA. Currently its confusing since the
LustreFileSystemL2 construct accepts theLustreConfigurationwhich defines animportPathandexportPathbut its not clear (or verified via the type system) that this cannot be used in conjunction with the DRA.Docs: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-fsx-filesystem-lustreconfiguration.html
Proposed Solution
Create an L2 construct for DataRepositoryAssociation which validates that
importPath/exportPathis not set on theLustreFileSystem. And make the documentation clear on how to set up a LustreFileSystem backed by an S3 bucket.Other Information
No response
Acknowledgements
AWS CDK Library version (aws-cdk-lib)
2.191.0
AWS CDK CLI version
2.1011.0 (build cd4ec06)
Environment details (OS name and version, etc.)
Amazon Linux 2