浏览代码

Removed recommendation for tf plugin cache

Fred Damstra [afs macbook] 4 年之前
父节点
当前提交
51d027aedd
共有 1 个文件被更改,包括 8 次插入5 次删除
  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