C
Coder.com•2y ago
plsfix

Azure Quickstart Failing

Hey, I worked through the Quickstart guide for Azure, but I run into issues on Creating and Uploading Your First Template. I installed Azure CLI and logged in via service principal. But the command coder templates create receives errors from Azure CLI:
Error: building AzureRM Client: obtain subscription() from Azure CLI: parsing json result from the Azure CLI: waiting for the Azure CLI: exit status 1: ERROR: Please run 'az login' to setup account.
Error: building AzureRM Client: obtain subscription() from Azure CLI: parsing json result from the Azure CLI: waiting for the Azure CLI: exit status 1: ERROR: Please run 'az login' to setup account.
What I tried: - Login with service principal using az login --service-principal - Login with my account using plain az login
2 Replies
plsfix
plsfix•2y ago
Well, I figured it out. One can pass the classic Terraform Auth Env variables to the Coder Docker Container. But how can I close this question now? 😅
kyle
kyle•2y ago
I'll close it for you! If anything else comes up, just let us know 🙂
Want results from more Discord servers?
Add your server