You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated test.zip file should contain sub/file.txt. This way, when the file is unzipped on a Linux system, directories are handled properly. Cygwin's zip as well as Windows built-in zip utility both behave correctly.
Actual Behavior
The generated test.zip file contains sub\file.txt.
Archive: test.zip
Length Date Time Name
--------- ---------- ----- ----
4 00-00-1980 00:00 sub\file.txt
--------- -------
4 1 file
Steps to Reproduce
Please list the full steps required to reproduce the issue, for example:
In an empty directory, paste the above into main.tf
mkdir -p test/sub
touch test/sub/file.txt
terraform init
terraform plan
unzip -l test.zip
The text was updated successfully, but these errors were encountered:
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.
ghost
locked and limited conversation to collaborators
Apr 4, 2020
This issue was closed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
OS: Windows
Terraform Configuration Files
Expected Behavior
The generated
test.zip
file should containsub/file.txt
. This way, when the file is unzipped on a Linux system, directories are handled properly. Cygwin'szip
as well as Windows built-in zip utility both behave correctly.Actual Behavior
The generated
test.zip
file containssub\file.txt
.Steps to Reproduce
Please list the full steps required to reproduce the issue, for example:
main.tf
mkdir -p test/sub
touch test/sub/file.txt
terraform init
terraform plan
unzip -l test.zip
The text was updated successfully, but these errors were encountered: