Skip to content
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

Add path prepending support #79

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add path prepending support #79

wants to merge 2 commits into from

Conversation

distroJack
Copy link

Current archive provider can only mirror file structures that appear on the host system when creating archives.

I propose adding a prepended_path attribute to the provider.
This would prefix the path within the generated archive.
Only archives generated using source_dir and source_file attributes would be prepended so that all files within the archive would be found a prepended_path/{source_dir/source_file}.

This will be especially useful (to me) when using the archive provider to upload aws lambda layers.

Base automatically changed from master to main February 1, 2021 17:31
@hashicorp-cla
Copy link

hashicorp-cla commented Mar 12, 2022

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants