You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a Lambda function on AWS using CDK, and I'm using Deno for this purpose. Every other service is working well, but this specific Lambda function is not. The CDK starts but never deploys it; it just freezes. The problem lies in the following line of code:
lambda.Code.fromAsset("path/of/code")
If I change this to use ImageDocker for the Lambda, it works. However, in this case, I need to use this function because I've already built the Lambda code (it's using cargo-lambda for Rust).
I reverted to Node.js, and it worked fine. I tried downgrading and upgrading Deno, clearing the cache, changing the version of CDK, and nothing worked. This is a big CDK project, and everything else is working except for this part.
History:
I'm trying to create a Lambda function on AWS using CDK, and I'm using Deno for this purpose. Every other service is working well, but this specific Lambda function is not. The CDK starts but never deploys it; it just freezes. The problem lies in the following line of code:
If I change this to use ImageDocker for the Lambda, it works. However, in this case, I need to use this function because I've already built the Lambda code (it's using cargo-lambda for Rust).
I reverted to Node.js, and it worked fine. I tried downgrading and upgrading Deno, clearing the cache, changing the version of CDK, and nothing worked. This is a big CDK project, and everything else is working except for this part.
Snippet of code:
Deno details:
Deno.json
The text was updated successfully, but these errors were encountered: