If you have a need to quickly spin up AKS clusters on a regular basis, this GitHub repo can serve as a nice scaffold: https://github.com/justin-vanwinkle/terraform-k8s
It has everything you'll need to get going:
- A Terraform config that defines a Kubernetes cluster with autoscaling nodes
- A GitHub Actions pipeline that can deploy to your Azure Subscription
- Comprehensive instructions in the README on how to deploy your own cluster if you fork my repository.
Feel free to submit issues or pull requests!