-
-
Notifications
You must be signed in to change notification settings - Fork 692
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
new runtime check fails for docker build #361
Comments
I had the same issue when merging the latest version of code into my branch for this PR - #360 A fix is included in that PR (because I was unable to proceed without it) but it might be necessary to apply the same fix to a separate branch if I can't get the other changes included in that PR merged |
Related question: What is the appetite for running docker during the plan phase? Obviously you would need docker, and it would need to pull the image... |
This issue has been resolved in version 4.1.4 🎉 |
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
With the latest version 4.1.2 and 4.1.3 a new shell check for
runtime
parameter was introduced. This breaks our workflows on github runner ubuntu-20.04 (or any runner which has not the selected runtime version installed). We still setpython3.7
runtime which is not available on the runner, which is known and thus we use docker to build our lambdas.It seems that this check is executed before the build process switches to the docker runtime.
Please check why this code is not working with the docker build setting.
Versions
Module version [Required]: 4.1.3
Terraform version:
v1.2.9
Provider version(s):
hashicorp/local v2.2.3
hashicorp/aws v4.36.0
hashicorp/null v3.1.1
hashicorp/external v2.2.2
Reproduction Code [Required]
Steps to reproduce the behavior:
< Are you using workspaces? > no workspaces
< Have you cleared the local cache (see Notice section above)? > clean cache
< List steps in order that led up to the issue you encountered > update module to 4.1.3 and rerun unchanged code
Expected behavior
The check for runtime binary should be done inside docker container.
Actual behavior
Terminal Output Screenshot(s)
Additional context
The text was updated successfully, but these errors were encountered: