# VECTOR Lambda functions

This repo contains VECTOR processes that are lightweight enough to be executed as AWS Lambda functions.

## Requirements

* Install [docker](https://docs.docker.com/get-docker/)
* Ensure you have access to the shared ECR repo via [awsume](https://www.notion.so/AWS-Access-f841b9dd815d4443a80e96a86c92cd2f#f841b9dd815d4443a80e96a86c92cd2f)

## How to work on these Lambda functions locally

Build:

```sh
docker compose build function
```

Run:

```sh
docker compose up function
```

Run linting and tests:

```sh
docker compose run --rm --build lint-and-test
```
