-
-
Notifications
You must be signed in to change notification settings - Fork 693
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
Building Dependencies Works Even if a Command Fails #388
Comments
This issue has been automatically marked as stale because it has been open 30 days |
This is still an issue |
This issue has been automatically marked as stale because it has been open 30 days |
This is still a problem |
This issue has been automatically marked as stale because it has been open 30 days |
This is still an issue 😢 |
This issue has been automatically marked as stale because it has been open 30 days |
This issue was automatically closed because of stale in 10 days |
I believe this is still an issue |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
When using the build dependencies functionality of this module via the
commands
array the success of any given command is not considered when running the next commands form the array.Versions
Module version [Required]:
4.0.0
Terraform version:
Reproduction Code [Required]
If a commands array might look like this:
Every command is still run, no matter how the previous command exited. It does not make sense to run a
build
if aninstall
failed and furthermore azip
would result in something completely different from what is expected.Steps to reproduce the behavior:
terraform apply
Expected behavior
Apply would fail with an error message.
Actual behavior
Apply works fine but lambda code is not working since it was not build correctly.
Terminal Output Screenshot(s)
–
Additional context
Noticed the problem when yarn install commands would fail in CI but the run was "successful" but lambdas didn't work.
The text was updated successfully, but these errors were encountered: