I have trying to complete the assignment 7-8 times. Every time I got the error while deploying the files for 4.2 by running “terraform apply”. The jobs in 4.1 session were successful. I took about 10 mins to complete previous files not 3 hours. This time I updated all files then deployed the files. I still got the error.
What is the error? Any root cause or how I can navigate the root cause? Could you advise me for this error please? Thanks
VSCodeEndpoint: deployment error from “terraform apply” commands
The terminal process “/bin/bash” terminated with exit code: 1.
No error in the jupyter_output.log:
…
[I 2024-11-25 21:53:49.691 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
[W 2024-11-25 21:57:12.661 LabApp] Could not determine jupyterlab build status without nodejs
[I 2024-11-25 21:57:17.391 ServerApp] Writing notebook-signing key to /config/.local/share/jupyter/notebook_secret
[W 2024-11-25 21:57:17.392 ServerApp] Notebook C4_W4_Assignment_1.ipynb is not trusted
[I 2024-11-25 21:57:18.176 ServerApp] Kernel started: 8e9b6aee-a621-4a59-b48f-cexxxxxxxx
[I 2024-11-25 21:57:18.836 ServerApp] Connecting to kernel 8e9b6aee-a621-4a59-b48f-cexxxxxxxx.
[I 2024-11-25 21:57:18.879 ServerApp] Connecting to kernel 8e9b6aee-a621-4a59-b48f-cexxxxxxxxx.
[I 2024-11-25 21:57:18.915 ServerApp] Connecting to kernel 8e9b6aee-a621-4a59-b48f-cexxxxxxxx.
[I 2024-11-25 21:59:17.544 ServerApp] Saving file at /C4_W4_Assignment_1.ipynb
[I 2024-11-25 22:01:17.626 ServerApp] Saving file at /C4_W4_Assignment_1.ipynb
[I 2024-11-25 22:01:44.002 ServerApp] Saving file at /terraform/assets/extract_jobs/de-c4w4a1-api-extract-job.py
[I 2024-11-25 22:03:30.298 ServerApp] Saving file at /terraform/assets/extract_jobs/de-c4w4a1-extract-songs-job.py
[I 2024-11-25 22:03:34.381 ServerApp] Saving file at /terraform/assets/extract_jobs/de-c4w4a1-api-extract-job.py
[I 2024-11-25 22:05:03.448 ServerApp] Saving file at /terraform/assets/transform_jobs/de-c4w4a1-transform-json-job.py
[I 2024-11-25 22:06:03.987 ServerApp] Saving file at /terraform/assets/transform_jobs/de-c4w4a1-transform-songs-job.py
[I 2024-11-25 22:07:42.923 ServerApp] Saving file at /terraform/main.tf
[I 2024-11-25 22:08:18.956 ServerApp] Saving file at /terraform/outputs.tf
[I 2024-11-25 22:09:31.282 ServerApp] Saving file at /terraform/modules/extract_job/s3.tf
[I 2024-11-25 22:11:33.835 ServerApp] Saving file at /terraform/modules/extract_job/glue.tf
[I 2024-11-25 22:12:45.054 ServerApp] Saving file at /terraform/modules/extract_job/glue.tf
[I 2024-11-25 22:14:44.318 ServerApp] Saving file at /terraform/modules/transform_job/glue.tf
[I 2024-11-25 22:14:48.461 ServerApp] Saving file at /terraform/modules/transform_job/glue.tf
[I 2024-11-25 22:15:37.055 ServerApp] Saving file at /terraform/modules/transform_job/s3.tf
[I 2024-11-25 22:15:41.056 ServerApp] Saving file at /terraform/modules/transform_job/glue.tf
[I 2024-11-25 22:16:57.802 ServerApp] Saving file at /terraform/modules/serving/iam.tf
[I 2024-11-25 22:17:47.365 ServerApp] Saving file at /terraform/modules/serving/redshift.tf
[I 2024-11-25 22:27:01.998 ServerApp] Saving file at /C4_W4_Assignment_1.ipynb
[I 2024-11-25 22:27:02.857 ServerApp] Saving file at /C4_W4_Assignment_1.ipynb
[I 2024-11-25 22:27:04.909 ServerApp] Saving file at /C4_W4_Assignment_1.ipynb
[I 2024-11-25 22:27:05.155 ServerApp] Saving file at /C4_W4_Assignment_1.ipynb
[I 2024-11-25 22:27:05.396 ServerApp] Saving file at /C4_W4_Assignment_1.ipynb
Reboot VS in CloudShell following the steps in course
[cloudshell-user@ip-10-xxxxxx ~] nano -c restart_vscode_service.sh
[cloudshell-user@ip-10-xxxxxx ~] bash restart_vscode_service.sh
VSCode server rebooted, try to connect again
log:
[C 2024-11-25 22:30:02.023 ServerApp] received signal 15, stopping
[I 2024-11-25 22:30:02.027 ServerApp] Shutting down 4 extensions
[I 2024-11-25 22:30:02.028 ServerApp] Shutting down 1 kernel
[I 2024-11-25 22:30:02.028 ServerApp] Kernel shutdown: 8e9b6aee-a621-4a59-b48f-xxxxxxxxxxx
then ran the VSCode “source scripts/setup.sh” but not even deploy files.
I still got the same error.