How to entirely restart a lab assignment?

My lab timed out for Module 4: Programming Assignment: Assignment 3: Building End-to-End Batch and Streaming Data Pipelines Based on Stakeholder Requirements.

I was then getting prompted to input all of the variables when typing ‘terraform apply’ for task 4.2. As ChatGPT puts it…
“It looks like Terraform is now prompting you to manually enter a value for the variable data_lake_bucket, which means it no longer has that value defined in your setup. This likely happened because:
• You were disconnected, and changes to your Terraform files or terminal session state (like environment variables) were lost.”

I can’t seem to completely reset my lab to start again fresh. Please help! Lab ID: dlqkgentitkx

Hi,

Please fill out the lab refresh form

1 Like

The form is used to report AWS accounts with issues (lab budget, time budget, aws link does not open, lake formation permission). But we can’t automatically reset the lab files.

@aslaun If you’d like to reset the lab files, you can do the following:

  • create a folder “old_lab_files” and move all your current lab files to the folder.
  • click on “?” on the top right corner
  • click on “get latest version”
    You should see the new lab files.

Now regarding the issue when Terraform prompts you to enter values for the variables. This happens if you have missed typing source scripts/setup.sh. When you run this file, it defines all the variables for terraform. If you happen to open a new terminal, make sure first to run source scripts/setup.sh before running the terraform commands. If you forget to do that and terraform asks you to prompt the values, you can always cut the process by typing “CTRL+C” and then run source scripts/setup.sh.

Please let me know what other issues you encountered in the lab. Please make sure to tag my name so I can get to see your reply.

will this work for all labs

@vrishab Yes!

thanks it worked