add an initialization script to aws-cdk-lib.aws_efs module
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 83
Description
### Describe the feature
allow a set of commands to be executed when the elastic file system is created.
### Use Case
Allowing to create a set of directories when the elastic file system is created.
Currently every lambda invocation needs to check if the working directories exists and create them if it's not the case.
### Proposed Solution
adding an initialisation data that take a set of commands similar to `ec2Instance.userData.addCommands();`
### Other Information
_No response_
### Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### CDK version used
1.152.0
### Environment details (OS name and version, etc.)
macos 12
Contributor guide
Research direction
The requested entry point is the aws-cdk-lib.aws_efs module; inspect its file-system creation API and related tests to find where initialization data could fit. First verify the lifecycle constraints for running commands when an Elastic File System is created. Done should provide a documented and tested way to supply commands for creating initial working directories.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100