Terraform init无法在Windows 10专业版中运行

时间:2018-02-06 01:23:31

标签: terraform

我最近在我的工作中将操作系统从Windows 7升级到10位专业版。我的脚本在我的笔记本电脑上除了可以正常工作。 我收到以下错误

Error downloading modules: Error loading modules: error downloading 'file://c:/path/to/modules ': failed to run mklink .terraform\modules\b571284e9ec052dbb3f56e5cee0f6674 C:\path\to\modules: exit status 1 "The system cannot find the path specified.\r\n"

当我检查时,文件在给定路径中可用但仍然不起作用。我看到以前的问题,terraform init是运行symblink的windows优先问题,因此我甚至尝试使用命令提示符作为管理员,它仍然无法正常工作。

1 个答案:

答案 0 :(得分:0)

HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Command Processor \ AutoRun需要删除