Setup of an aks cluster with terraform.
The GitOps based deployments in AKS are managed through ArgoCD and the corresponding repository.
The current user will be added to the cluster admin group, add more users in the portal if you wish to.
You need:
- azure cli
- terraform cli
- kubectl
Setup the variables in a terraform.tfvars
file, see the example terraform.example.tfvars
.
az login
az account set --subscription="YOUR_SUBSCRIPTION_ID"
terraform init
terraform apply --auto-approve
terraform destroy --auto-approve