Questions tagged [amazon-cloudwatch-synthetics]
9 questions
1
vote
0 answers
How to upload dependencies to be consumed by a Python AWS Synthetic ("Canary")?
Referencing AWS documentation, especially here, and StackOverflow answers like this one, I would have expected that simply including the dependencies in the uploaded .zip file would be sufficient - but that does not seem to be the case. Despite…

scubbo
- 4,969
- 7
- 40
- 71
1
vote
1 answer
Cloudwatch Canary - Multi step API check, passing HTTP response between steps
I am attempting to set up a Cloudwatch Synthetics Canary that can Query my API with a POST action to make an Authentication attempt, return a token then do a second request using that token in the header.
My Code for the multi step Canary looks like…

Martin W
- 372
- 1
- 2
- 14
1
vote
1 answer
Puppeteer evaluate NOT enforcing same-origin policy, not throwing CORS error
Everyone on the net wants to disable puppeteer from enforcing the same-origin policy, I actually want to test that same-origin-policy enforcement works! but it doesn't and i don't know why, this is what I do:
import puppeteer from…

Mercury
- 7,430
- 3
- 42
- 54
1
vote
1 answer
AWS Canary and alarm in Terraform
I am trying to set up an AWS canary that will monitor an API gateway. When the canary fails, I would like to send out an email to email addresses subscribed to the SNS topic.
The canary is set up as follows (works well):
resource…

Jaco Van Niekerk
- 4,180
- 2
- 21
- 48
0
votes
0 answers
AWS cloudWatch synthetics: unable to load all dependencies in synthetics canary even after uploading it in s3 bucket with zip file
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…

Kirti Anand
- 1
- 1
0
votes
0 answers
Cloudformation error when creating AWS Canary
I am getting the below error when I tried to create aws synthetics canary
I am using a cloudformation template and the template succeeds if I don't include the AWS::Synthetics::Canary section, so I believe something wrong when executing the canary…

Ram
- 155
- 1
- 5
0
votes
0 answers
Command to run aws synthetics canaries test
I am creating a codebuild job to run aws canary tests.I have added the command start-canary --name to run the tests.
But the build fails with command not found.

Priya
- 1
- 1
0
votes
1 answer
How do I update an AWS cloudwatch sythetic canary via terraform?
I've created a canary via terraform. I'm now attempting to update the canary script via terraform. I input my script directly into the canary. I've included a null resource with a trigger that always recreates my zip file. My canary script/ lambda…

cloudy-cloud
- 1
- 2
0
votes
0 answers
Synthetic Canary Error :Unable to determine who owns the S3 bucket: bucket-name AccessDenied: Access Denied
Synthetic-canary failing with below error.Any specific reason? Not sure if I missed any permission or policy to be applied for aim role
Exception calling ListBuckets. Unable to determine who owns the S3 bucket: bucket-name AccessDenied: Access…

Prashant Kamble
- 65
- 1
- 8