Skip to content

tf-cilium/terraform-aks-cilium

Repository files navigation

Requirements

Name Version
terraform >= 1.3
azurerm 3.77.0
cilium >=0.1.10
local 2.4.0

Providers

Name Version
azurerm 3.77.0
cilium 0.2.0
local 2.4.0

Modules

No modules.

Resources

Name Type
azurerm_kubernetes_cluster.this resource
azurerm_subnet.node resource
azurerm_virtual_network.this resource
cilium_cilium.this resource
local_file.this resource

Inputs

Name Description Type Default Required
aks Feature of aks
object({
name = string
version = string
dns_prefix = string
default_node_pool = object({
name = optional(string, "default")
node_count = optional(number, 3)
vm_size = optional(string, "Standard_DS2_v2")
})
})
{
"default_node_pool": {
"name": "default",
"node_count": 3,
"vm_size": "Standard_DS2_v2"
},
"dns_prefix": "cilium",
"name": "cilium-cluster-tf-provider",
"version": "1.27"
}
no
cilium Feature of cilium
object({
version = optional(string, "1.14.3")
kube-proxy-replacement = optional(bool, false)
ebpf-hostrouting = optional(bool, false)
hubble = optional(bool, false)
hubble-ui = optional(bool, false)
gateway-api = optional(bool, false)
preflight-version = optional(string, null)
upgrade-compatibility = optional(string, null)
})
{
"ebpf-hostrouting": false,
"gateway-api": false,
"hubble": false,
"hubble-ui": false,
"kube-proxy-replacement": false,
"version": "1.15.1"
}
no
location Location (az group list | jq -r '.[0].location') string n/a yes
resource_group_name Resource Group Name (az group list | jq -r '.[0].name') string n/a yes
subnet_node Feature of subnet of node object({ address_prefixes = list(string), name = string })
{
"address_prefixes": [
"10.240.0.0/16"
],
"name": "nodesubnet"
}
no
vnet Feature of vnet object({ address_space = list(string), name = string })
{
"address_space": [
"10.0.0.0/8"
],
"name": "cilium-tf-provider"
}
no

Outputs

Name Description
kube_config_raw The azurerm_kubernetes_cluster's kube_config_raw argument. Raw Kubernetes config to be used by kubectl and other compatible tools.
kube_host n/a

Releases

No releases published

Packages

No packages published

Languages