Skip to main content

Parallel Runs

The parallel_runs directive can be used to define the maximum number of terraform commands that can run at the same time.

Keys

KeyTypeDescription
parallel_runsintDefines the maximum number of terraform commands that can be run at the same time

Default Configuration

parallel_runs: 3

Number of Runs

The maximum number of terraform commands that can be run in parallel.

info

There is no guarantee that Terrateam will execute the maximum number of runs defined.

Directory dependencies take precedence over parallel runs.

For example:

  • Directory foo depends on bar.
  • The pull request has a change for both directories foo and bar.
  • Terrateam will run the command against directory bar first then directory foo second.