Infrastructure
Ollie is deployed on AWS using Terraform. All infrastructure is defined in deploy/ and managed per-environment (test, prod). The application identifier is ollie.
Lambda Functions
| Function | Trigger | Timeout | Memory | Key IAM Permissions |
|---|---|---|---|---|
|
API Gateway ( |
300s |
default |
execute-api:Invoke (User Service, Underwriting Service, LOC Service); Secrets Manager GetSecretValue (Zendesk credentials, Datadog API key) |
Secrets Manager
All secrets are namespaced by environment (site/…).
| Secret Path | Purpose |
|---|---|
|
Zendesk automation account email and API token used to create tickets, manage users, and apply macros |
|
Datadog API key for Lambda layer instrumentation, referenced by ARN via |
API Gateway
| Gateway | Auth | Purpose |
|---|---|---|
|
AWS IAM (SigV4) |
Internal HTTP API. All routes ( |
Monitoring
Datadog SLOs are defined for the prod-ollie-api Lambda:
-
Error SLO — 99.9% target / 99.99% warning over 7-day and 30-day windows
Terraform Structure
All infrastructure is defined in deploy/:
| File | Contents |
|---|---|
|
AWS provider config, locals for derived names, and data sources for external resources |
|
|
|
All configurable parameters: environment, application, Zendesk credentials, Datadog keys, and service version |
|
Datadog SLO definitions and the Datadog service catalog entry ( |
Related Pages
-
Architecture — System context diagram and component overview
-
Event Flows — Ticket creation flow and Zendesk enrichment steps
-
API Specification — Full OpenAPI spec