aws_lambda_nodejs: Adding bundling.nodeModules fails with "Error: EACCES: permission denied" #26352
Labels
@aws-cdk/aws-lambda-nodejs
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
effort/medium
Medium work item – several days of effort
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
I am attempting to include the most recent version of the QuickSight SDK client, and added
@aws-sdk/client-quicksight
to bundling.nodeModules. The version in the Lambda runtime is slightly out of date.When I run
npx cdk synth
the docker build fails with the errorError: EACCES: permission denied
Expected Behavior
A successful synth execution.
Current Behavior
Fails with a permission denied error.
Reproduction Steps
Create a
NodejsFunction
instance and add@aws-sdk/client-quicksight
to the bundling.nodeModules. The following is my construct setup.Possible Solution
I don't know the implementation well enough to say.
Additional Information/Context
No response
CDK CLI Version
2.87.0 (build 9fca790)
Framework Version
No response
Node.js Version
v18.16.1
OS
Windows 11 Enterprise build 22621.1702
Language
Typescript
Language Version
TypeScript 5.1.3
Other information
No response
The text was updated successfully, but these errors were encountered: