An open API service indexing awesome lists of open source software.

https://github.com/pocket/aws-synthetic-checks

AWS re-usable synthetic uptime & graphql operation checks stored in S3
https://github.com/pocket/aws-synthetic-checks

Last synced: 2 months ago
JSON representation

AWS re-usable synthetic uptime & graphql operation checks stored in S3

Awesome Lists containing this project

README

          

# aws-synthetic-checks

AWS re-usable synthetic uptime & graphql operation checks stored in S3

## Local Development

### Fresh Setup

Clone the repo:

- `git clone git@github.com:Pocket/aws-synthetic-checks.git`
- `cd aws-synthetic-check`

To compile AWS infra:

- `cd .aws`
- `npm ci`
- `npm run build:dev`

To build and create zip file with synthetic code:

- `cd aws-synthetic-check`
- `npm ci`
- `npm 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.