C2_W3_Lab_2_CloudWatch - Terraform Apply Keeps Crashing

Hi,

I was at 4 - CloudWatch Logs and Metrics when a dialog box popped up saying I get disconnected. Reconnecting option did not work, so I chose the reload window option. After that, I get “The terminal process “/usr/bin/bash” terminated with exit code: 1.” every time I ran “terraform apply”. Can anyone help?

Thanks.

Hello @simply.me

This issue is because you used terraform apply when the lab server was rebooted without destroying terraform before. You could run terraform apply -no-color 2> errors.txt to see what errors cause the terminal to crash. Also you might need to run source scripts/setup.sh from part 2 to continue. Thank you

Hi Georgios:

Hope you are well. I am having the same issue for the whole night repeatedly rebooting this AWS CloudWatch lab and following the first sections until “terraform apply”. The terminal has always crashed and exited automatically. I followed your suggestion to @simply.me, and the errors.txt says “no configuration file”. I also ran “source scripts/setup.sh” but still no success. Can you please look into my lab section and refresh my lab, maybe to see if that resets the lab and allows me to start again? Please also advise if any better action item.

Thank you!,
Susie Bai

Hello @susie_bx,

Could you try in a new lab session and fill this form for a lab refresh if it continues. It should take 2 business days so you will need to wait a bit longer. Thank you

Hi Georgios: Thank you very much for your reply! I retried today and was able to do it.

Best regards,
Susie Bai

1 Like