Skip to content

last portion of jumpstart notebook does not complete and errors out at second section #301

Description

@bparbhurestore

We get a problem with using the installation notebook. We get an error during the second section of the last part of the notebook when doing the installation.

we are running this section

@title

%%capture
%%bash
export PATH="$PATH:~/.tfenv/bin"
export PATH="/root/.local/bin:$PATH"
export PATH="$PATH:$(which gcloud)"
export GOOGLE_APPLICATION_CREDENTIALS=/content/.config/application_default_credentials.json
TERRAFORM_RUN_DIR=$(pwd)/infrastructure/terraform
terraform -chdir="${TERRAFORM_RUN_DIR}" apply -target=module.data_store -auto-approve

and getting this back


CalledProcessError Traceback (most recent call last)
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 -target=module.data_store -auto-approve\n')

4 frames
in shebang(self, line, cell)

/usr/local/lib/python3.11/dist-packages/IPython/core/magics/script.py 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 -target=module.data_store -auto-approve\n'' returned non-zero exit status 1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions