Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Command from Terraform Templates #332

Open
john0isaac opened this issue Mar 19, 2024 · 0 comments
Open

Missing Command from Terraform Templates #332

john0isaac opened this issue Mar 19, 2024 · 0 comments
Assignees

Comments

@john0isaac
Copy link
Contributor

john0isaac commented Mar 19, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants