The following Terraform code is using a modular approach in order to create relevant objects over Microsoft Azure.
- Resource Group
- Virtual Network
- Subnet
- Storage
- AKS
- Application Infra
- Azure Key Vault
- providers.tf : This file provides the information to the web provider to connect.
- resourceGroup.tf : This file creates the resource group object on the azure in US WEST 2 region by adding tags.
- terraform.tfvars : This file provides the values of all the variables in the module.
- variables.tf : Thsi file provides the definition of all the variables used inside the module.
- output.tf : This file stores important values into the output section.