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

feat: Make archiving optional #29

Open
baolsen opened this issue Dec 9, 2022 · 0 comments · May be fixed by #30
Open

feat: Make archiving optional #29

baolsen opened this issue Dec 9, 2022 · 0 comments · May be fixed by #30

Comments

@baolsen
Copy link
Contributor

baolsen commented Dec 9, 2022

We have a use case where we cannot do remote builds on Terraform enterprise due to corporate restrictions.

In our case, the contents of source_dir is quite complex, some files must be put in specific locations in the archive.
And we are not allowed to use the build commands to achieve this.

The module does currently allow the build process to be skipped.
But it does not allow any way for us to specify a custom archive entirely.

For this customer, we would prefer to create the archive ahead of time and store it in our repo for this customer. Then tell the module to upload our pre-packaged archive.

For our CI, we still need the existing remote build feature.
We can use this to ensure our stored archive is kept up to date by comparing the two.

We therefore need an optional way to upload an existing archive, rather than the module creating one.

While this does move slightly away from the core benefits of this module, I still believe it is a useful option to have.

@baolsen baolsen linked a pull request Dec 9, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant