Parcourir la source

Removed recommendation for tf plugin cache

Fred Damstra [afs macbook] il y a 4 ans
Parent
commit
51d027aedd
1 fichiers modifiés avec 8 ajouts et 5 suppressions
  1. 8 5
      Terragrunt Notes.md

+ 8 - 5
Terragrunt Notes.md

@@ -3,11 +3,14 @@ aka "how to develop the terraform 12+ stuff"
 
 
 ## Local cache of providers
-helpful tip, speed up cache by adding the following to your `~./bashrc`:
-```
-export TF_PLUGIN_CACHE_DIR=~/.terraform.d/plugin-cache
-[[ -d "$TF_PLUGIN_CACHE_DIR" ]] || mkdir -p $TF_PLUGIN_CACHE_DIR
-```
+
+NOTE: this doesn't work well with provider locking in TF14+. I recommend you disable this if you've enabled it.
+
+~helpful tip, speed up cache by adding the following to your `~./bashrc`:~
+~```~
+~export TF_PLUGIN_CACHE_DIR=~/.terraform.d/plugin-cache~
+~[[ -d "$TF_PLUGIN_CACHE_DIR" ]] || mkdir -p $TF_PLUGIN_CACHE_DIR~
+~```~
 
 ## Renaming Directories/Resources