1 Answer
- Newest
- Most votes
- Most comments
0
It seems it is not finding the Lambda package using the path.
path.join(__dirname, "..", "InitiateExportJobFunction"
Try the following example: https://cdkworkshop.com/40-dotnet/30-hello-cdk/200-lambda.html
answered a year ago
Relevant content
- asked 6 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago
It appears that deploying lambdas inside of custom resources/CDK is not supported by Amplify. You must bundle the files yourself. See here: https://github.com/aws-amplify/amplify-cli/issues/9055