Closed harrytsee closed 2 years ago
Hi @harrytsee Thanks for the report.
Downloading a zip file with the source code for the bootstrap module (the source of the entrypoint.bash
file) it is possible to check that the line ending used in the file is LF
.
Maybe the issue is been caused by the automatic substitution that git does with the line ending of the files in the Windows SO?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
TL;DR
When deploying the CFT Bootstrap (step 0) locally on a Windows machine to a fresh organisation the following error occurs during the Cloud Build submit step after running the terraform apply:
Solution:
Update entrypoint bash to LF by default or add documentation to troubleshooting steps to update entrypoint.bash CRLF end of line conversion to LF following these steps for any "no such file or directory" errors.
Expected behavior
Successful terraform apply following run, this error should not occur as is all steps are executed following instructions and run from an up to date clone of the repo.
Observed behavior
Key Errors:
Terraform Configuration
Terraform Version
Additional information
No response