From 9ba743272d26602b824ebf0b4726635f88f1c5cc Mon Sep 17 00:00:00 2001 From: Noah Canadea Date: Tue, 28 May 2024 21:52:16 +0200 Subject: [PATCH] doc(README): Add hint regarding directory init requirement --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c423cd9..8d6b53a 100644 --- a/README.md +++ b/README.md @@ -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`.