Skip to content

Commit

Permalink
doc(README): Add hint regarding directory init requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah Canadea authored and Noah Canadea committed May 28, 2024
1 parent 837134d commit 9ba7432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Since the init command is required for many features of the official Hashicorp T

#### Auto-install providers

By enabling the setting `tftoolbox.iac.enableAutoProviderInitialization`, the extension will automatically initialize a terraform / opentofu project when a changed .tf file contains a provider version constraint for which no provider is currently installed. The extension will then run terraform / opentofu init in that folder.
By enabling the setting `tftoolbox.iac.enableAutoProviderInitialization`, the extension will automatically initialize a terraform / opentofu project when a changed .tf file contains a provider version constraint for which no provider is currently installed. The extension will then run terraform / opentofu init in that folder. The folder has to be initialized manually for the first time to be considered for auto-initialization.

> [!IMPORTANT]
> This feature is experimental and might use lots of system resources when switching branches in git with many provider version changes. It is also not recommended to use in combination with the vscode setting `Auto Save: afterDelay`. Instead, use the setting `Auto Save: onFocusChange` or `Auto Save: onWindowChange`.
Expand Down

0 comments on commit 9ba7432

Please sign in to comment.