From edfd3544e923a380a4ad15ea18fcea2ad20ee6bd Mon Sep 17 00:00:00 2001 From: MaxymVlasov Date: Fri, 23 Jan 2026 16:59:23 +0200 Subject: [PATCH 1/2] docs(`terraform_validate`): Describe that paralelsim is safe to use with tofu 1.10+ --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 59f01426e..c974b84fd 100644 --- a/README.md +++ b/README.md @@ -970,7 +970,8 @@ To replicate functionality in `terraform_docs` hook: ### terraform_validate > [!IMPORTANT] -> If you use [`TF_PLUGIN_CACHE_DIR`](https://developer.hashicorp.com/terraform/cli/config/config-file#provider-plugin-cache), we recommend enabling `--hook-config=--retry-once-with-cleanup=true` or disabling parallelism (`--hook-config=--parallelism-limit=1`) to avoid [race conditions when `terraform init` writes to it](https://github.com/hashicorp/terraform/issues/31964). +> If you use [`TF_PLUGIN_CACHE_DIR`](https://developer.hashicorp.com/terraform/cli/config/config-file#provider-plugin-cache), we recommend enabling `--hook-config=--retry-once-with-cleanup=true` or disabling parallelism (`--hook-config=--parallelism-limit=1`) to avoid [race conditions when `terraform init` writes to it](https://github.com/hashicorp/terraform/issues/31964). +> This [issue was fixed in OpenToFu v1.10+](https://opentofu.org/blog/help-us-test-opentofu-1-10-0-alpha2/#global-provider-cache-locking), so it's safe to use parallelism with it. 1. `terraform_validate` supports custom arguments so you can pass supported `-no-color` or `-json` flags: From 9c7b53e49ab8679d59b685801b945b8eea57828e Mon Sep 17 00:00:00 2001 From: Maksym Vlasov Date: Sun, 25 Jan 2026 03:34:12 +0200 Subject: [PATCH 2/2] Update README.md Co-authored-by: George Yermulnik (Georgii Iermulnik) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c974b84fd..c4adbe194 100644 --- a/README.md +++ b/README.md @@ -971,7 +971,7 @@ To replicate functionality in `terraform_docs` hook: > [!IMPORTANT] > If you use [`TF_PLUGIN_CACHE_DIR`](https://developer.hashicorp.com/terraform/cli/config/config-file#provider-plugin-cache), we recommend enabling `--hook-config=--retry-once-with-cleanup=true` or disabling parallelism (`--hook-config=--parallelism-limit=1`) to avoid [race conditions when `terraform init` writes to it](https://github.com/hashicorp/terraform/issues/31964). -> This [issue was fixed in OpenToFu v1.10+](https://opentofu.org/blog/help-us-test-opentofu-1-10-0-alpha2/#global-provider-cache-locking), so it's safe to use parallelism with it. +> This [issue was fixed in OpenTofu v1.10+](https://opentofu.org/blog/help-us-test-opentofu-1-10-0-alpha2/#global-provider-cache-locking), so it's safe to use parallelism with it. 1. `terraform_validate` supports custom arguments so you can pass supported `-no-color` or `-json` flags: