Azure Resource Group is failing in the terraform

I successfully authenticated azure CLI to terraform but not sure why it is failing with below error. Please assist me on this, Thank you.

I tried to env variables in the code to see it works, but giving error as below. Please help