docs/src/data/experiments/auto-provider-cache-dir.mdx
Enable native OpenTofu provider caching by setting TF_PLUGIN_CACHE_DIR instead of using Terragrunt's internal provider cache server.
auto-provider-cache-dir - What it doesThis experiment automatically configures OpenTofu to use its built-in provider caching mechanism by setting the TF_PLUGIN_CACHE_DIR environment variable. This approach leverages OpenTofu's native provider caching capabilities, which are more robust for concurrent operations in OpenTofu 1.10+.
This experiment flag is no longer needed, as the auto-provider-cache-dir feature is now enabled by default when using OpenTofu >= 1.10.
Requirements:
Disabling the feature:
You can disable the auto-provider-cache-dir feature using the --no-auto-provider-cache-dir flag:
terragrunt run --all apply --no-auto-provider-cache-dir
auto-provider-cache-dir - How to provide feedbackNow that the auto-provider-cache-dir experiment is complete, please provide feedback in the form of standard GitHub issues.
auto-provider-cache-dir - Criteria for stabilizationTo transition the auto-provider-cache-dir feature to stable, the following have been completed: