@J0SHUA Here’s what you can do:
-
Start a new lab session
-
To retrieve the lab files:
- First, create a folder (old_lab_files) and move everything to that folder
- Second, click on the question ? (help)
- On the right bar, click on “get the latest version”
You should start fresh with new lab files.
-
For all commands, to avoid the terminal from crashing and to print the errrors inline, append
|| echo "$?"
to the command, for example:
terraform plan || echo "$?"
-
When you start a new session, please avoid rebooting the lab in the middle of the 3 hour session, this will make you lose the terraform state (that keeps track of the resources created) and then you will get this error that “resources already exist”.
When you get an error, please tag me here and I’ll help you troubleshoot it.