parallel_runs
The parallel_runs configuration in Terrateam specifies how many concurrent Terraform runs can be executed across different directories or environments. Parallel runs can improve the efficiency of infrastructure changes, particularly for large-scale projects.
Default Configuration
Section titled “Default Configuration”parallel_runs: 3| Key | Type | Description |
|---|---|---|
parallel_runs | Integer | Specifies how many Terraform runs can be executed concurrently. The default is 3, but this value can be adjusted based on your project’s needs and available resources. |
Example Configuration
Section titled “Example Configuration”parallel_runs: 5This configuration increases the maximum number of parallel Terraform runs to 5, allowing you to adjust based on your infrastructure’s capacity and the complexity of your operations.
Considerations
Section titled “Considerations”- Increasing the number of parallel runs can improve speed but may require higher resource usage.
- Ensure your infrastructure can handle the number of parallel runs without bottlenecks or throttling.
- Parallel runs are ideal for environments or directories that can be processed simultaneously, maximizing efficiency.