Skip to content

Environment Variables

VariablePurposeFirst Set In
WIFI_SSID

Wi-Fi SSID used by FIRMWARE
PlatformIO-based ESP32 application in `firmware/` — connects to Wi-Fi, syncs time, and publishes MQTT telemetry and events.

prerequisites/hardware-and-software-requirements
WIFI_PASSWORDWi-Fi password used by firmwareprerequisites/hardware-and-software-requirements
THING_NAME

Device identity used in certs and MQTT
Message Queuing Telemetry Transport — lightweight publish/subscribe protocol used between ESP32 and AWS IoT Core.
topics

prerequisites/hardware-and-software-requirements
AWS_REGION

AWS
Amazon Web Services — the cloud platform used for IoT Core, serverless ingest, storage, API, and hosting in this walkthrough.
region for CLI and log lookups

prerequisites/hardware-and-software-requirements
API_URLBase URL for query API callsapi-and-dashboard/query-api-validation
VITE_API_URL

Dashboard API base URL for local/ AMPLIFY
AWS Amplify — hosts the walkthrough dashboard frontend and connects it to the query API URL.
runtime

api-and-dashboard/dashboard-and-hosting
AMPLIFY_APP_IDTarget Amplify app for deploy scriptapi-and-dashboard/dashboard-and-hosting
AMPLIFY_BRANCHAmplify branch target for deploymentapi-and-dashboard/dashboard-and-hosting
TELEMETRY_TABLE

Runtime shell variable mapped to telemetry DYNAMODB
Amazon DynamoDB — persists telemetry and event records after Lambda ingest in Phase 2.
table

infrastructure/terraform-provisioning
EVENTS_TABLERuntime shell variable mapped to events DynamoDB tableinfrastructure/terraform-provisioning

TELEMETRY_TABLE and EVENTS_TABLE are runtime shell variables derived from TERRAFORM
HashiCorp Terraform — provisions shared infrastructure (IoT rules fan-out, Lambda, DynamoDB, API Gateway, Amplify).
outputs telemetry_table_name and events_table_name.