Skip to main content

Destination Branches

By default, Terrateam requires that a pull request has the repository's default branch (usually main or master) as its destination branch. Terrateam will not perform a plan or apply otherwise. But some workflows may prefer going through another branch, such as staging, prior to the default branch. Or have separate branches for development and production. This is supported through the destination_branches configuration. Any branches listed are valid destination branches.

destination_branches:
- main
- dev
- prod