# cleanup-efs

Lambda function to clean up old EFS directories based on a retention period.

## Configuration

| Environment Variable | Description |
|---------------------|-------------|
| `EFS_PATH` | Path to EFS mount containing directories with numeric timestamp names |
| `EFS_RETENTION_DAYS` | Number of days to retain directories |

Directories in `EFS_PATH` with numeric timestamp names older than the retention period are deleted.

## Trigger

Invoked periodically by a CloudWatch Event rule.

## Development

See `docker-compose.yaml` for available services.

