You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To run Terraform code without logging into Azure, type following (Authentication happens using environment variables)
az logout // logging out from Azure
az account show -o table // Check whether you are in Azure
terraform init
terraform validate
terraform fmt
terraform plan -var-file variables.tfvars // This will pass our variables into plan
terraform apply -var-file variables.tfvars