-
Notifications
You must be signed in to change notification settings - Fork 63
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
archive_file changes file timestamps #30
Comments
From what I'm seeing, when I run Diving deeper, I think this is merely a cosmetic issue, as the file's
I'm using terraform v0.11.7 and terraform-provider-archive_v1.1.0_x4 at the moment. |
Would it be possible to reset the zip file timestamp? Otherwise, we obtain a different md5 on it on every run, even though the contents (incl. the timestamps of the files inside the zip) don't change. EDIT: Upon further analysis, the difference in my case was not due to the timestamp, but rather due to a file attribute difference. |
This issue was originally opened by @rahulinux as hashicorp/terraform#18765. It was migrated here as a result of the provider split. The original body of the issue is below.
Hi there,
When using archive_file, file timestamp set to 00-00-1980. I would really
like to use Terraform to zip files but preserve the same permission but I can't.
Tested with Terraform
v0.11.8
The text was updated successfully, but these errors were encountered: