Terraform Variables
All variables are defined in terraform/variables.tf. Pass overrides with -var="name=value" from the demo repo
event-driven-serverless-platform-demo — source repository for Terraform, Lambda services, portal, and scripts. Commands run from its root with `terraform -chdir=terraform` unless stated otherwise. root.
Layer enable flags
Section titled “Layer enable flags”| Variable | Default | Description |
|---|---|---|
enable_ingest | true | Deploy ingest layer ( S3 |
enable_processing | true | Deploy processing layer (requires |
enable_presentation | true | Deploy presentation layer (requires |
Region and ingest
Section titled “Region and ingest”| Variable | Default | Description |
|---|---|---|
region | ap-southeast-2 | AWS |
source_bucket | geonet-open-data | GeoNet |
source_prefix | gnss/rinexhourly/ | Source prefix in public bucket |
lookback_hours | 1 | Ingest lookback |
schedule_expression | rate(1 hour) | EventBridge Scheduler AWS EventBridge Scheduler — triggers ingest-sync Lambda on a recurring UTC schedule (default: hourly). cadence |
Processing
Section titled “Processing”| Variable | Default | Description |
|---|---|---|
processor_source_prefix | raw/rinexhourly/ | Raw RINEX |
destination_prefix | processed/tec/ | Processor output prefix |
processor_image_uri | "" | Override ECR |
processor_image_tag | latest | Tag mirrored from GHCR |
processor_maximum_concurrency | 15 | Max concurrent ingest queue invocations |
reprocess_maximum_concurrency | 2 | Max concurrent reprocess queue invocations |
processor_memory_mb | 2048 | Processor Lambda |
processor_timeout_seconds | 900 | Processor Lambda timeout |
Observability thresholds
Section titled “Observability thresholds”| Variable | Default | Description |
|---|---|---|
dlq_visible_threshold | 1 | DLQ |
queue_stale_age_seconds_threshold | 1800 | Stale message age alarm threshold |
process_queue_visible_threshold | 100 | Process queue depth alarm threshold |
Presentation and portal
Section titled “Presentation and portal”| Variable | Default | Description |
|---|---|---|
deploy_amplify_on_apply | true | Build and zip-deploy portal |
web_source_dir | ../web | Path to portal source directory |
amplify_domain | * | Amplify hostname for CORS (auto-derive when |
| Variable | Default | Description |
|---|---|---|
tags | Project/ManagedBy map | Tags applied to all resources |
Example overrides
Section titled “Example overrides”# Different regionterraform -chdir=terraform apply -var="region=us-east-1"
# Skip Amplify on applyterraform -chdir=terraform apply -var='deploy_amplify_on_apply=false'
# Different processor image tagterraform -chdir=terraform apply -var="processor_image_tag=v1.2.3"
# Lock CORS to Amplify hostnameterraform -chdir=terraform apply \ -var="amplify_domain=$(terraform -chdir=terraform output -raw cors_domain)"See Terraform Outputs for values emitted after apply.