C4_W4 Capstone - Environment Keeps Crashing

I’m trying to complete part 1 of the capstone lab and the environment crashes. I went through the workflow twice and the crash was reproduced. I used the script to clean up the environment. But when I got to section 4.1.6, the environment crashed again.

I get to section 4.1.6

This error happened repeatedly in the previous lab.

The unstable environment is costing me hours and days of productivity loss.

I would be grateful if someone can help me find a way to use a stable environment so I can complete the course.

Thank you

Hello @dan_herman
Unfortunately, I was not able to reproduce the issue. This has happened to me in some other labs, where the terminal crashed, and I was not able to catch the error. In order to see what was going wrong, I expand the terminal section in VScode, and the get a screen record while I run the erroneous command. Can you please do the same so that we can find out what’s the problem from the video?
The terminal looks like this after expanding:

I found the issue.

I missed an argument in one of the glue.tf files in the

/terraform/modules/transform_job/glue.tf

“–datalake-formats” = “iceberg”

The argument was set to “None”

I made the change, I started a new terminal, activated the virtual environment and then ran dbt and it worked.