Skip to content

Environment Variables

Terrateam specifies environment variables in different contexts.


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.


The following environment variables are only available in post hooks.

TERRATEAM_RESULTS_FILEPath to a JSON file that contains the results of all executed Dirspaces.

GitHub Actions Environment Variables

See GitHub documentation for details.

We use cookies and similar technologies to provide certain features, enhance the user experience and deliver content that is relevant to your interests. Depending on their purpose, analysis and marketing cookies may be used in addition to technically necessary cookies. By clicking on "Agree and continue", you declare your consent to the use of the aforementioned cookies. Here you can make detailed settings or revoke your consent (in part if necessary) with effect for the future. For further information, please refer to our Privacy Policy .