AWS re-usable synthetic uptime & graphql operation checks stored in S3
Clone the repo:
git clone [email protected]:Pocket/aws-synthetic-checks.gitcd aws-synthetic-check
To compile AWS infra:
cd .awsnpm cinpm run build:dev
To build and create zip file with synthetic code:
cd aws-synthetic-checknpm cinpm run build:local
The created zip file aws-synthetic.zip will be located in tmp-dist/synthetics-export
To run canary code locally:
TODO - Synthetics package is not available on npm, which means that we cannot test our canary code locally. Workaround is to declare a TypeScript Synthetics module
and leverage that for local testing.