0

For creating AWS cloudwatch synthetics to monitor health check of APIs. I am using s3 bucket to upload the node js script in the following structure nodejs/node_modules/myCanaryFolder/myCanaryFile.js With all dependencies required in that file to run the api script enclosed in same folder and zip it. But still getting module not found for required dependencies.

I tried to upload the zip file manually in s3 bucket. Canary is reading but script file but not loading dependencies.

I want to run the script successfully.

0 Answers0