Open john0isaac opened 3 months ago
Any terraform template should have the command az login or az login --use-device-code for successful deployment.
az login
az login --use-device-code
If you only run azd auth login you get an error during the provisioning stage that it failed to authenticate and you need to run az login
azd auth login
Example affected repo: https://github.com/Azure-Samples/todo-python-mongo-terraform
The right steps are found here on my repo: https://github.com/john0isaac/simple-flask-app-terraform
I guess this can be fixed by azd team but for now, there needs to be a step where people authenticate with az until this is fixed.
az
Any terraform template should have the command
az login
oraz login --use-device-code
for successful deployment.If you only run
azd auth login
you get an error during the provisioning stage that it failed to authenticate and you need to runaz login
Example affected repo: https://github.com/Azure-Samples/todo-python-mongo-terraform
The right steps are found here on my repo: https://github.com/john0isaac/simple-flask-app-terraform
I guess this can be fixed by azd team but for now, there needs to be a step where people authenticate with
az
until this is fixed.