aws / aws/aws-cdk

(aws-efs): Support for attaching multile file systems to lambda function

Open
#14,885 17 comments 11 reactions 0 assignees View on GitHub
@aws-cdk/aws-lambda effort/medium feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
1d 19h
Merged PRs (30d)
71

Description

Support configuring multiple file systems as available in CFN: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-filesystemconfigs

Currently we can only specify one file system:

https://github.com/aws/aws-cdk/blob/8ed088a4cc5388b85776c3486cb657462836d923/packages/%40aws-cdk/aws-lambda/lib/function.ts#L280

-----------------------------------

*Originaly reported as*:

(aws-efs): unable to mount more than one efs with lambda function

I can mount multiple efs volumes manually for a lambda but using the ts-cdk library I cannot mount more than a single efs volume.

Contributor guide

Open the contributing guide

Research direction

Read the CloudFormation FileSystemConfigs documentation first, then inspect packages/@aws-cdk/aws-lambda/lib/function.ts at the linked definition and its surrounding file-system configuration. Done means the TypeScript CDK API supports configuring more than one file system for a Lambda function and represents the corresponding multiple configurations.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.