• Docs
  • Common Use Cases
  • Custom Workflows
  • Auto Apply on Merge

Autoapply on Merge

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