C4W4 Capstone 1 - Unable to finish lab due terminal constantly crashing

Hello,

I have been trying for 5 days to finish the lab but I have not been able to. Each time at some point the terminal crashes, mostly when running terraform or while setting up dbt (error code is mostly The terminal process “/usr/bin/bash” terminated with exit code: 1. but not only). I am not sure how to go on, could you please help and/or advise?

Thanks

Luca

Hi @Eudossodicnido can you send me a screenshot of the error you are seeing

mostly the above

Now I cannot even access the lab anymore. If I click on the course I’m stuck on this

It does not load the page at all (tried multiple times, refreshed, logged out and in again, etc).

I am quite puzzled about what’s going on.

Seems to be a system wide issue. I’m also seeing a blank page when accessing my course.

I have the very same issue

I guess the latter issue (coursera not loading correctly) is related to the current global AWS outage.

You are correct.
Hopefully the service is restored soon.

Btw this is the screenshot. This happens even if I run erraform apply -no-color 2> errors.txt

Sorry, I have no idea what that problem is.
I’m not a mentor for this course.

Hello, I pasted the screenshot below

Go to the terraform folder and run the commands there. Let me know what happens

If you mean the cd terraform, I already run the commands from there

I can’t reproduce your error. Can you share a wlakthrough of the steps you did from starting the lab to getting the error message

I just followed the steps highlighted in the the lab. Maybe resetting the lab could help?

Yes! Please try resetting and following the steps again. If you get the same issue at any step, please share it with me to help you find a solution

Hi, I requested a lab reboot but it does not look like they have. I was able to recover this error when the terminal crashed (via View > Output>Log) which is the following.

I am out of ideas and not sure what to do. Would it be ok if I upload here the terraform files?

Thanks

Actually I was able to fix this, so the actual error was the following, which I am not sure why was happening in the first place, anyway I was able to delete and recreate it. The actual issue was that the terminal kept crashing so it was not possible to see what the actual issue with terraform was. I was able to keep it displayed by running 2>&1 | tee -a output.log after the command (so terraform apply 2>&1 | tee -a output.log). If anybody has the same issue, hope this helps.

Thanks for the help

Best

Luca