Skip to main content

Auto Apply on Merge

Automatically apply Terraform changes after a pull request is merged. Driven by the when_modified directive.

info

The following configuration examples use default file pattern globs for when_modified.

Learn more

Automatically run terrateam apply after all merge commits:

when_modified:
autoapply: true

Automatically run terrateam 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