【发布时间】:2018-05-23 02:31:36
【问题描述】:
我遇到了 terraform init 和 terrafor get 的问题。我想让 terraform 重新下载我的模块,所以我删除了 .terraform 文件夹。但是当我尝试 terraform init 时,它总是给我类似的东西:
下载模块时出错:加载模块时出错:下载“ssh://git@mygitaddr”时出错:C:\cygwin64\bin\git.exe exited with 128: fatal: could not create work tree dir '.terraform\modules \b58395849f04859395839':没有这样的文件或目录。
看来 terraform 仍在寻找我的旧模块。我花了一些时间在网上搜索并怀疑这与符号链接有某种关系,但我不确定。但是,它在 intellij 中使用运行/调试配置以相同的设置运行没有问题。它也适用于 windows cmd 提示符。
我正在使用 terraform 0.11
【问题讨论】:
标签: terraform