Terraform: Terraform apply usage output, parallelism flag - Concurrency isn't Parallelism

Created on 8 Feb 2017  ยท  3Comments  ยท  Source: hashicorp/terraform

Hi

Terraform Version

0.8.5

Expected Behavior

parallelism flag should be replaced with concurrency or something else that declares the process is concurrent.

Actual Behavior

-parallelism=n         Limit the number of concurrent operations.
                         Defaults to 10.

Steps to Reproduce

  1. terraform apply --help

References

@robpike https://blog.golang.org/concurrency-is-not-parallelism

bug core

Most helpful comment

@mitchellh @ysweid Does this mean terraform parallelism is limited to the number of cores on the system? Most modern systems can support many more _concurrent_ operations than the number of cores. Why not terraform?

All 3 comments

Parallelism is the right word here. Its limiting the theoretical maximum parallel operations. If you have less cores than "n" then parallelism might be lower, but Terraform will never even attempt more than n.

Fixing it now.

@mitchellh @ysweid Does this mean terraform parallelism is limited to the number of cores on the system? Most modern systems can support many more _concurrent_ operations than the number of cores. Why not terraform?

I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

Was this page helpful?
0 / 5 - 0 ratings