# Amazon Datapulse Trigger

Lambda function that:
* consumes SQS messages from `prod-amazon-data-availability-queue`
* parses `report_type`
* triggers the Jenkins job

# Local development

Requirements:
* Python 3.11+
* `uv` installed globally or in a virtual environment 
```shell
brew install uv
```
* Docker (aka colima) 
* docker compose plugin

## Commands 
```bash
# Start the local Lambda runtime
docker-compose up --build -d function

# Run lint + unit tests
docker-compose up --build lint-and-test

# Skip linting, run only tests
SKIP_LINT=true docker-compose up --build lint-and-test
```
