Allowed Destination Branches
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.
Allowed Destination Branches
Only allow the main
, dev
, and prod
branches to be used as valid
destination branches for Terrateam operations.
destination_branches:
- main
- dev
- prod
Disable Pending Apply Status Checks
Do not create the terrateam apply
GitHub status checks.
apply_requirements:
create_pending_apply_checks: false
Disable Specific Status Checks
Instruct Terrateam to not check specific GitHub status checks when evaluating Apply Requirements.
apply_requirements:
checks:
status_checks:
enabled: true
ignore_matching: ["foo.*", "bar.*"]
Ignore Merge Conflicts
Instruct Terrateam to ignore pull request merge conflicts when evaluating Apply Requirements.
apply_requirements:
checks:
merge_conflicts:
enabled: false
Required Approvals
Require pull request approvals for an Apply to trigger.
apply_requirements:
checks:
approved:
enabled: true
count: 2