Loading...
Loading...
### Terraform Version ``` Terraform v1.16.5 ``` The flag is also present in the source of 1.13.3 and 1.16.0. ### Terraform Configuration Files _Any configuration works. The option list does not depend on the configuration._ ### Debug Output _N/A. The gap is visible in `terraform test -help` with no configuration or plugins involved._ ### Expected Behavior `terraform test -help` lists every public option the command accepts. It lists `-parallelism`, so it should also list `-run-parallelism`. ### Actual Behavior `terraform test -help` lists `-parallelism` but not `-run-parallelism`, even though the command accepts the flag. The option is registered in `internal/command/arguments/test.go`: ```go cmdFlags.IntVar(&test.OperationParallelism, "parallelism", DefaultParallelism, "parallelism") cmdFlags.IntVar(&test.RunParallelism, "run-parallelism", DefaultParallelism, "run-parallelism") ``` It was added in 1.13.0 by #37292. It sets how many `run` blocks execute in parallel within a single test file and defaults to 10, the same default as `-parallelism`. `-parallelism` limits resource operations inside one run, so the two options control different levels of concurrency. ### Steps to Reproduce 1. Run `terraform test -help`. 2. Look for `-run-parallelism`. It is missing. 3. Run `terraform test -run-parallelism=1`. Terraform accepts the flag. ### Additional Context The CLI reference page on developer.hashicorp.com has the same gap, tracked in hashicorp/web-unified-docs#3672. Could you confirm whether `-run-parallelism` is a supported public option or intentionally undocumented? If it is public, `terraform test -help` should list it. ### References - #30880 (same class of issue: `refresh -help` missing `-parallelism`) - #37292 (adds the flag) - #36323 (names `run-parallelism` and `file-parallelism` as future options) - hashicorp/web-unified-docs#3672 (docs issue) ### Generative AI / LLM assisted development? N/A. No configuration was developed for this report.
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
BugZero Plan
Streamline upgrades with automated vendor bug scrubs
BugZero Prevent
Wish you caught this bug sooner? Get proactive today.