How to undo everything and restart lab for Programming Assignment: Assignment 2: Building a Data Lakehouse with AWS Lake Formation and Apache Iceberg?

Hello @Edmund_Koh,

The strange thing is that I can reproduce your issue. Here are two things I can tell from your screenshot.
1)The terminal crash on terraform plan because of different uncomment lines or terraform apply because of existing AWS resources.
2)You didn’t rerun source scripts/setup.sh after the terminal crash and you will get this error:

This is the output I reproduced from terraform plan since there are no inputs set from source scripts/setup.sh :

The solution to this is to go back to terminal/project (use cd …) and use source scripts/setup.sh the run the terraform commands again:


3)Undo everything means delete your lab files and use get_latest_version.:
This can be used to update to a new version or to start over. This will not replace any of your files (only missing/renamed files):

4)If your lab is still not healthy you can use the lab refresh form. Hope it helps