-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed to run mklink #733
Comments
What's in |
Here is an example: terraform { inputs = { |
For what its worth, it works when I run terragrunt on Linux. |
Could you set the |
I get the same result: ~....\terraform....\network git: master ≣ ❯ $env:TERRAGRUNT_DEBUG=true |
Hm, I think we're on an old version of I'll submit a PR to update us... I may also try to switch to copying instead of symlinks in general as that may fix #736. |
Let me know if I can help test. |
I think this may be a bug in go-getter that hasn't been fixed, actually: |
Unfortunately I don't have that environment setup. I tried to pull it down and run the following: But I get all sorts of errors about missing packages |
You can get Go>=1.12 and run
That should just work. |
Oh, neat, didn't know Terragrunt already worked with |
Give https://github.com/gruntwork-io/terragrunt/releases/tag/v0.19.1 a shot. New binaries should show up in a few minutes. |
Yep, that works. |
I just upgraded to terragrunt v0.19.0 this morning. I am running Terraform v0.12.1. I am running on Windows with Powershell. I am trying to setup an example repo based on terragrunt to show to my team for possible adoption.
When I run terragrunt init or terragrunt plan I get the following:
terragrunt init
[terragrunt] [C:\Users\matt.mclane\repos\llamasoft\terraform\environments\prod\network] 2019/06/10 10:11:48 Running command: terraform --version
[terragrunt] 2019/06/10 10:11:48 Reading Terragrunt config file at C:/Users/matt.mclane/repos/llamasoft/terraform/environments/prod/network/terragrunt.hcl
[terragrunt] 2019/06/10 10:11:48 Downloading Terraform configurations from file://C:/Users/matt.mclane/repos/llamasoft/terraform/modules into C:/Users/matt.mclane/repos/llamasoft/terraform/environments/prod/network/.terragrunt-cache/j11A824preQo1pkd4TD25NjWlKs/5dESSr0bTp-_uymXIM66yNDT_Yo
[terragrunt] 2019/06/10 10:11:48 Hit multiple errors:
error downloading 'file://C:/Users/matt.mclane/repos/llamasoft/terraform/modules': failed to run mklink C:/Users/matt.mclane/repos/llamasoft/terraform/environments/prod/network/.terragrunt-cache/tmp-download-Ry4o94 C:\Users\matt.mclane\repos\llamasoft\terraform\modules: exit status 1 "Invalid switch - "Users".\r\n"
[terragrunt] 2019/06/10 10:11:48 Unable to determine underlying exit code, so Terragrunt will exit with error code 1
All the paths seem correct.
The text was updated successfully, but these errors were encountered: