Skip to main content

Environment Variables

Terrateam specifies environment variables in different contexts.

Workflows

NameDescription
TERRATEAM_PLAN_FILEPath to the plan file
TERRATEAM_DIRThe working directory relative to the root of the repository
TERRATEAM_WORKSPACEThe workspace being executed against
TERRATEAM_ROOTThe location of your checked out repository

Post-Hooks

The following environment variables are only available in post hooks.

NameDescription
TERRATEAM_RESULTS_FILEPath to a JSON file that contains the results of all executed dirspaces

GitHub Actions Environment Variables

See documentation