Replies: 4 comments
-
Updated "Stack" file to use // lib/frontend-api.ts
const appCreateLambda = new lambda.Function(
this,
"ApplicationCreateLambda",
{
runtime: Runtime.NODEJS_16_X,
code: lambda.Code.fromAsset("lambda"),
handler: "application-create.handler",
timeout: Duration.seconds(30),
}
); and now it does not require Docker. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ok I see why it happens :) https://docs.aws.amazon.com/cdk/api/v1/docs/aws-lambda-nodejs-readme.html#local-bundling |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
I have following code
"Stack" file
"Lambda code" file
"App entry point" file
When I try to
synth
getting followingDoes it mean lambda with typescript requires to have Docker running? I have followed typescript example files https://github.com/aws-samples/aws-cdk-examples/tree/master/typescript and see no mentions about Docker. Also no any info about Docker on aws-cdk docs e.g. https://docs.aws.amazon.com/cdk/v2/guide/multiple_languages.html
Any help is appreciated.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions