Docs
Common Use Cases
Custom Workflows
Auto Apply on Merge

Autoapply on Merge

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.

Automatically apply Terraform changes after a pull request is merged.

All Changes

Automatically run Apply after all merge commits:

when_modified:
  autoapply: true

Target Directory

Automatically run Apply after a merge commit against a pull request with a When Modified file pattern match in the ec2 directory:

dirs:
  ec2:
    when_modified:
      autoapply: true