Missing Command from Terraform Templates
Open
area/docs
area/terraform
customer-reported
needs-team-attention
question
- Dominant language
- Go
- Stars
- 569
- Forks
- 364
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 136
Description
Any terraform template should have the command `az login` or `az 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 run `az 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.
Contributor guide
Assessment
This issue has not been assessed yet.