C4W4A1-Lab - VSCode crashes when I run terraform init

Hi Amir,

It turns out this was (one of) the problems: C4_W4 Capstone - Environment Keeps Crashing

Three different things crashed the terminal:

  • I missed a “none.none” in a Terraform file
  • I didn’t run terraform init before running terraform plan
  • I mispelled terraform (terrraform)

All of these are obviously my fault, but because the terminal closes in <1 second and the error only flashes on the screen before it closes, I literally had to screen record the issue (so I could send them to you), and pause to see what the error is.

So I feel like the terminal shouldn’t exit (it exits with exit code 1, so I think it’s being forced?) whenever an error occurs…

Also I couldn’t even run “grep -irl none” without the terminal dying, which made things even more frustrating.

Thanks for the reply though. :slight_smile: