Creating an AKS cluster on Azure using Terraform
az login --use-device-code
az aks get-credentials --resource-group [name] --name [aks-name]
az acr login --name [acr-name]
az aks update -n [aks-name] -g [rs-name] --attach-acr [acr-name]
What's inside [ ] replace for your environment.