Error with terraform comands in terminal

I am doing this Data Storage and Queries Course, W2

I have an error in step 4.3 Deployment, in week 2, laboratory, I have already tried it 3 times and it always gives the same error, when applying the “terraform plan” it crashes and you reopen the terminal and everything is unconfigured,

Hello @alexNo,

I could reproduce the issue after I was prompted to input those variables instead of running source scripts/setup.sh command to successfully setup all the environment variables. You need to run this command every time the terminal restarts so you don’t get this error. Hope it helps