We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With structure like:
-root --XYZ ---lambdas ----lambda1 -----src ------index.ts ----lambda2 -----src ------index.ts
, when trying to deploy both lambdas in same stack like for example:
const lambda1 = new NodejsFunction(this, 'lambda1', { runtime: lambda.Runtime.NODEJS_14_X, handler: 'XYZ/lambdas/lambda1/src/index.handler', functionName: 'lambda1', exclude: [ 'aws-sdk' ], timeout: cdk.Duration.seconds(5) });
const lambda2 = new NodejsFunction(this, 'lambda2', { runtime: lambda.Runtime.NODEJS_14_X, handler: 'XYZ/lambdas/lambda2/src/index.handler', functionName: 'lambda2', exclude: [ 'aws-sdk' ], timeout: cdk.Duration.seconds(5) });
When looking on source code of deployed lambda structure of each function is:
-XYZ --lambdas ---lambda1 ----src -----index.js ---lambda2 ----src -----index.js
when it should be for lambda1:
-XYZ --lambdas ---lambda1 ----src -----index.js
and for lambda2:
-XYZ --lambdas ---lambda2 ----src -----index.js
The text was updated successfully, but these errors were encountered:
No branches or pull requests
With structure like:
, when trying to deploy both lambdas in same stack like for example:
When looking on source code of deployed lambda structure of each function is:
when it should be for lambda1:
and for lambda2:
The text was updated successfully, but these errors were encountered: