Encountering errors on Programming Assignment: Assignment 2: Building a Data Lakehouse with AWS Lake Formation and Apache Iceberg?
Was prompted the following at part 3.2 of the assigment during the terraform plan phase. Not sure if this is expected or system error? If so, can I know how do i undo everything and restart lab? Thank you
1 Like
Hello @Edmund_Koh
If you want to start fresh you could delete the lab files you changed before and use get_latest_version
from help to recreate them.
The screen is terminating
means that the terminal crashed and you need to run source scripts/setup.sh
to set the variables again.
However the terminal crash will happend every time if you only uncomment 1-17 lines in main.tf
and different blocks in outputs.tf
.
Solution is to comment again the Module Transformation in outputs.tf
(lines 15-25) to continue. Hope it helps
1 Like
Hi @Georgios , tried your method to comment again the Module Transformation in outputs.tf
(lines 15-25) to continue but its not working. Seems like terraform plan still throws the same error to declare value for var.curated_db_ml_table.
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