Running the colab installer, in step #5 on the TERRAFORM_RUN_DIR=$(pwd)/infrastructure/terraform cell with terraform apply, after many minutes (~45), it throws this error then ends:
---------------------------------------------------------------------------
CalledProcessError Traceback (most recent call last)
[<ipython-input-15-d277c5c61f36>](https://localhost:8080/#) in <cell line: 0>()
----> 1 get_ipython().run_cell_magic('bash', '', 'export PATH="$PATH:~/.tfenv/bin"\nexport PATH="/root/.local/bin:$PATH"\nexport PATH="$PATH:$(which gcloud)"\nexport GOOGLE_APPLICATION_CREDENTIALS=/content/.config/application_default_credentials.json\nTERRAFORM_RUN_DIR=$(pwd)/infrastructure/terraform\nterraform -chdir="${TERRAFORM_RUN_DIR}" apply -auto-approve\n')
4 frames
<decorator-gen-103> in shebang(self, line, cell)
[/usr/local/lib/python3.11/dist-packages/IPython/core/magics/script.py](https://localhost:8080/#) in shebang(self, line, cell)
243 sys.stderr.flush()
244 if args.raise_error and p.returncode!=0:
--> 245 raise CalledProcessError(p.returncode, cell, output=out, stderr=err)
246
247 def _run_script(self, p, cell, to_close):
CalledProcessError: Command 'b'export PATH="$PATH:~/.tfenv/bin"\nexport PATH="/root/.local/bin:$PATH"\nexport PATH="$PATH:$(which gcloud)"\nexport GOOGLE_APPLICATION_CREDENTIALS=/content/.config/application_default_credentials.json\nTERRAFORM_RUN_DIR=$(pwd)/infrastructure/terraform\nterraform -chdir="${TERRAFORM_RUN_DIR}" apply -auto-approve\n'' returned non-zero exit status 1.
Expecting
to run cell with no errors.
Running the colab installer, in step #5 on the TERRAFORM_RUN_DIR=$(pwd)/infrastructure/terraform cell with
terraform apply, after many minutes (~45), it throws this error then ends:Expecting
to run cell with no errors.