-
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
Add archive_dir property to be used with source_dir that will prefix … #125
base: main
Are you sure you want to change the base?
Conversation
Now that I've issued this, I see this is similar to #113. If that can address the other issues, then this PR is not needed. |
@teamterraform, not sure what the intake process is here. Is a PR reviewer typically assigned automatically? I do see a related PR but it seems to be very stale. |
@teamterraform, anything we can do to move this forward? |
@@ -78,6 +78,8 @@ NOTE: One of `source`, `source_content_filename` (with `source_content`), `sourc | |||
|
|||
* `source_dir` - (Optional) Package entire contents of this directory into the archive. | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing period.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meant to link to
terraform-provider-archive/website/docs/d/archive_file.html.markdown
Lines 80 to 82 in af9bceb
* `archive_dir` - (Optional) When used with source_dir, the top-level directories inside the archive that will contain all the contents | |
…all content
This can be used to address issue issue #96 and feature request #37. To keep the parent directory, it just must be specified in archive_dir property. archive_dir can have multiple parent levels, if needed. As this uses a new field, it does not regress any current behavior.