Skip to content

Gitflow Workflow

Terrateam Configuration Terrateam behavior can be configured via a config.yml. This file is located in a directory named .terrateam at the root of your Terraform repository: .terrateam/config.yml.

See Configuration documentation for details.

A Gitflow-style workflow can be accomplished with Destination Branches.

The following example will trigger a Terrateam operation when performing a pull request against any release branch. It also triggers a Terrateam operation on pull requests against main, but only with a hotfix source branch.

destination_branches:
  - branch: main
    source_branches: ['hotfix/*']
  - branch: 'release/*'