-
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
added 'mode' argument #80
Conversation
Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement Learn more about why HashiCorp requires a CLA and what the CLA includes Ricard Bejarano seems not to be a GitHub user. Have you signed the CLA already but the status is still pending? Recheck it. |
Logs on failed runs in Travis show as |
CI shows as failed not because any jobs failed. but because they didn't run, they show as "cancelled". Can a maintainer please retrigger them and then review/merge? Thanks! |
The workaround in #90 has been released in terraform-provider-archive v2.2.0 which adds |
I'm afraid these are separate issues. I haven't checked but These are separate issues I'm afraid. |
@ricardbejarano We probably could have thought longer about the parameter name, if that's causing confusing; however, it's documented fairly thoroughly with an example. I think it should suffice. Thus, I would recommend that we close this PR. |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Proposed solution for #17.
Adds the
mode
argument to thearchive_file
data source:Works exclusively with
source_dir
orsource_file
.It performs the equivalent of a
chmod -R ${mode} ${source_dir|source_file}
before deflating.Tested with Terraform
v0.13.5
:Works as well with
source_file
.