- Azure account with Owner role permissions on the Azure Subscription
- terragrunt CLI version
v0.55.18
or higher (tested with this version) - terrafrom CLI version
v1.6.3
or higher (tested with this version) - kubectl CLI version
v1.29.2
or higher (tested with this version)
Run infrastructure plan to preview the changes before applying:
terragrunt run-all plan --terragrunt-working-dir environments/dev
Once you are satisfied with the changes in the plan, apply the changes using the following command:
terragrunt run-all apply --terragrunt-working-dir environments/dev
Getting AKS Cluster configuration
az aks get-credentials --resource-group <aks-resource-group-name> --name <aks-cluster-name> --overwrite-existing
kubelogin convert-kubeconfig -l azurecli
Test run kubectl command:
kubectl get nodes
Done.