Skip to content

Terraform Outputs

After a successful Terraform
HashiCorp Terraform — provisions all platform infrastructure through five modules in `terraform/`.
apply, read outputs from the demo repo root:

Terminal window
terraform -chdir=terraform output
OutputDescription
api_url

Base URL of API Gateway
Amazon API Gateway — REST API exposing `/catalog`, `/query`, and `/reprocess`. Browser CORS is locked to the Amplify hostname; CLI clients call the API Gateway URL directly.
stage (null when presentation disabled)

amplify_app_id

Amplify
AWS Amplify — hosts the Vite portal SPA. This walkthrough deploys via manual zip upload (no Git connection required).
application ID

app_domainDefault Amplify app domain
app_urlFull HTTPS URL of the portal
cors_domainAmplify branch hostname for API Gateway CORS
OutputDescription
bucket_name Data Lake
Private S3 bucket holding raw RINEX under `raw/rinexhourly/` and processed TEC output under `processed/tec/`.

S3
Amazon Simple Storage Service — data lake bucket for raw ingest and processed TEC output; S3 events trigger processing.
bucket name (null when ingest disabled)

OutputDescription
queue_url

Process_Queue
SQS standard queue — receives S3 ObjectCreated notifications for new raw RINEX files; triggers processor Lambda ingest path.
URL (S3 notifications)

reprocess_queue_url

Reprocess_Queue
SQS standard queue — buffers reprocessing job messages from the Reprocess API with lower concurrency than ingest.
URL

jobs_table_name

DynamoDB
Amazon DynamoDB — Jobs table tracks reprocessing job status by `job_id` (queued → processing → completed/failed).
Jobs table name

processor_image_uri

Container image URI for

processor Lambda
Processor Lambda container — runs PyTECGg calibration per SQS message; adopted when a Batch on Fargate parallel-execution quota increase was rejected. Image from `ghcr.io/platformfuzz/tec-processor-image` mirrored to ECR.
OutputDescription
cloudwatch_dashboard_name

CloudWatch
Amazon CloudWatch — alarms, dashboard (`event-driven-platform`), and structured Lambda logs for observability.
dashboard name ( event-driven-platform)

alarm_topic_arn

SNS
Amazon Simple Notification Service — publishes CloudWatch alarm notifications; subscribe an email endpoint after deploy.
topic ARN for alarm notifications

OutputDescription
layers_enabled

Map of { ingest, processing, presentation } booleans

Terminal window
export API_URL="$(terraform -chdir=terraform output -raw api_url)"
export BUCKET="$(terraform -chdir=terraform output -raw bucket_name)"
export QUEUE_URL="$(terraform -chdir=terraform output -raw queue_url)"
export APP_URL="$(terraform -chdir=terraform output -raw app_url)"
export TOPIC_ARN="$(terraform -chdir=terraform output -raw alarm_topic_arn)"
Use caseOutputClient
curl / scripts / Postmanapi_urlCLI (no CORS)
Browser portalapp_urlAmplify SPA (requires CORS lockdown)

See Amplify Portal and REST API Usage.