Closed stevie- closed 1 year ago
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 :tada:
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