-
-
Notifications
You must be signed in to change notification settings - Fork 693
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
terraform apply fails Windows during packaging #29
Comments
oh, Windows... so lovely... Well, let me see what we can do about this, but I don't want to promise anything yet, because none of us (people developing this module and https://serverless.tf) use Windows, so it may be time-consuming for us to investigate&fix. I will keep you posted here during the next couple days. |
Thank you for your response Anton. |
Windows, WSL, WSL2 - are all viable options many people use (or can use). I am just saying that most often we work or interact with Linux/Mac and not so much with Windows. I believe you can do the same on Windows, too. We just need to get this one issue fixed first. |
Understood - thanks! |
@marcinbelczewski Please give a try to v1.14.0 where this issue has been just fixed. And thanks again for reporting! |
@antonbabenko I just verified and it works flawlessly. Big thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hi
I'm running Windows 10 with Python 3.8.3 installed via chocolatey (not the Microsoft Store version).
Terraform v0.12.26
I did the following
I got
I'm not fluent in Python by any means but I suspect this is due the zip file not being closed before trying to change it's name from tmp to the final one.
After changing the package.py so that ZipWriteStream.close looks like this:
all worked fine.
Also being on Windows, I had to jump through one small hoop to get the module working, as the only python executable installed is python.exe and the module requires:
I've fixed that with hard links so no biggie.
Big thanks for the awesome work on the module!
The text was updated successfully, but these errors were encountered: