Environment Variables
Terrateam specifies environment variables in different contexts.
Workflows
Name | Description |
---|---|
TERRATEAM_PLAN_FILE | Path to the plan file. |
TERRATEAM_DIR | The working directory relative to the root of the repository. |
TERRATEAM_WORKSPACE | The workspace being executed against. |
TERRATEAM_ROOT | The location of your checked out repository. |
Post-Hooks
The following environment variables are only available in post hooks.
Name | Description |
---|---|
TERRATEAM_RESULTS_FILE | Path to a JSON file that contains the results of all executed Dirspaces. |
GitHub Actions Environment Variables
See GitHub documentation for details.