This is top level module creates resource group, vnet, subnets and aks cluster by calling vnet_and_subnets and aks modules.
This module creates following resources -
- Resource Group
- VPC (VNET)
- Subnet
- AKS Cluster with a default nodepool
- Optionally can create other k8s worker nodepools
No requirements.
No providers.
Name | Source | Version |
---|---|---|
aks_with_node_group | aks | n/a |
vnet_with_subnets | vnet_and_subnets | n/a |
No resources.
Name | Description | Type | Default | Required |
---|---|---|---|---|
address_space | The address space that is used the virtual network. You can supply more than one address space but for our module implementation we are limiting it to 1 address space only. | list(string) |
[ |
no |
cluster_name | resource group, vnet, subnet and aks cluster name | string |
n/a | yes |
k8s_version | kubernetes version | string |
"1.26" |
no |
nodepools | Nodepools for the Kubernetes cluster | map(object({ |
{ |
no |
region | azure region where the aks cluster must be created, this region should match where you have created the resource group, vnet and subnet | string |
n/a | yes |
Name | Description |
---|---|
az_rg_id | The ID of the resource group |
az_rg_name | The name of the resource group |
az_subnet_id | The ID of the subnet |
az_vnet_id | The ID of the vnet |
client_certificate | Base64 encoded public certificate used by clients to authenticate to the Kubernetes cluster. |
cluster_id | The Kubernetes Managed Cluster ID. |
kube_config | Raw Kubernetes config to be used by kubectl and other compatible tools. |
node_resource_group | The auto-generated Resource Group which contains the resources for this Managed Kubernetes Cluster. |
node_resource_group_id | The auto-generated Resource Group which contains the resources for this Managed Kubernetes Cluster. |
oidc_issuer_url | The OIDC issuer URL that is associated with the cluster |