Lab terminal crashed after terraform init command

When creating a post, please add:

  • Module # must be added in the tags option of the post. Module# 4
  • Link to the classroom item you are referring to: week 2 lab assignment
  • Description -
    Course: DeepLearning.AI Data Engineering Professional Certificate
    week 2 lab assignment
    Issue occurring in the step
    4 - Extracting, Transforming and Loading Data
    4.5 → terraform init
    Error → The terminal process “/usr/bin/bash” terminated with exit code: 1.

Hello @boobathi,

When the terminal crashes with that message you can run source scripts/setup.sh again. Then go to terraform folder and try running the terraform commands again. If that issue continues wait for a new lab session or submit this form for a lab refresh. Note, it takes 2 business days to complete and you will be notified.
Thank you

Hi Georgios,

Thanks for your quick response. I tried your first option , however didn’t help me. So i tried the below command and my issue got fixed and completed my lab too.

If you wish to attempt automatic migration of the state, use
terraform init -migrate-state”.

Thanks lot..

Thanks
Boobathi

1 Like