Here I will describe the Terraform script which will manage the exact infrastructure. I will explain only occasionally why we need the different Azure resources, so you probably want to read Dennis’s article first.

I find this project also a very good example to practice different Terraform features:

  • organizing the project into modules
  • defining terraform and provider versions
  • type constraints
  • each and for_each expressions
  • functions
  • defining explicit dependency
  • and even using provisioners!


Create A “Fully private” AKS Infrastructure With Terraform
1.50 GEEK