【问题标题】:Terraform init not working in windows 10 proTerraform init 在 Windows 10 专业版中不起作用
【发布时间】:2018-02-07 02:57:53
【问题描述】:

我最近在工作中将我的操作系统从 Windows 7 更新到了 10 pro。我的脚本在任何地方都可以正常工作,除了在我的笔记本电脑上。 我收到以下错误

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 是 Windows 特权运行符号链接的问题,所以我什至尝试以管理员身份使用命令提示符,它仍然不起作用。

【问题讨论】:

    标签: terraform


    【解决方案1】:

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

    【讨论】:

    • 它已经在我的机器上坏了好几个月了,我无法为我的生活找出原因。谢谢!
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-01-23
    • 1970-01-01
    • 1970-01-01
    • 2020-01-02
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多