module "kubernetes" {
for_each = local.config.azure.kubernetes
subnet_id = module.network[each.value.network].subnets[each.value.subnet].id
source = "git::https://github.com/jsoliveir/infrastructure//terraform/azure/Kubernetes/v1"
location = module.network[each.value.network].location
resource_group_name = module.resource_group.name
tags = module.resource_group.tags
kubernetes_version = each.value.version
name = each.key
storage = {
blob_driver_enabled = each.value.storageDrivers.blob
disk_driver_enabled = each.value.storageDrivers.disk
file_driver_enabled = each.value.storageDrivers.file
snapshot_controller_enabled = false
}
node_pools = {
for name, pool in each.value.nodePools : name => {
vm_size = pool.vmSize
disk_size = pool.diskSize
taints = pool.taints
max_nodes = pool.nodes
mode = pool.mode
}
}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
jsoliveir/terraform
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Terraform modules
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published