C4W4 Assignment 5 Project:Part2 Continuous crashing/timeout

Thank you @romik for all your suggestions and sharing your experience!

Thank you for suggesting to use || echo “$?” , I’ll try that out and add it as another suggestion for learners.

Just to add to what you said, terraform has a state that keeps track of the resources created within the same session. So ideally when you create a resource with terraform, and then you try again to create the same resource, there should be no errors, terraform should mention “you already created this resource, I won’t create that again”.
So that’s what I also suggest:

  • to avoid rebooting the lab within the same session (you will loose the state of terraform)
  • to avoid deleting any terraform-related file within the same session or resetting the lab files in the middle of the session (resetting the lab files at the beginning should be totally fine)

I think there might be other occasions that are leading to that terraform state confusion (please let me know if you encounter any other specific situation).

We’re planning to re-visit the labs that are using terraform to address these issues with the state, and enhance the experience.

@AakashBolisetty To answer your last question, when you start again the lab and you want the lab files to be reset, then here’s what you can do:

  1. Create a new folder and move all the current lab files to that folder (you can label the folder as old_lab_files)

  2. Click on lab help which is the question mark on the top right

  3. Click on “Get the latest version”.

Make sure to reset the lab files at the beginning of the lab before you create anything with terraform.

So the terraform issue is resolved, I was able to complete that. Thank you for enabling that. However now I ran into “Insufficient lake formation” issue. Submitting a form again. My subscription ends on June 21st. I hope I should be done by that time rather than pay another month for no reason.

@AakashBolisetty I just refreshed your AWS account. Can you please try again?

Now back to square zero for me. Im unable to open the AWS console. It returns an empty value for aws_url

@AakashBolisetty The lab needs some time to clean up the resource from the previous session. Please try again in half an hour. Make sure sure to launch the lab again from the coursera item (the previous session has been terminated because I assigned to you a different AWS account).

I gave more than 1 hour but I still have the same issue and i did launch the lab from the coursera assignment.

Thank you @hawraa.salami and @romik13 The echo suggestion was definitely very helpful and let me see the errors without crashing the entire thing and I was able to complete it finally except for the visualization part! Unfortunately that link didnt work for me but atleast I was done with the graded part!

1 Like

@AakashBolisetty Great to hear you completed the labs!