Skip to content

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