Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions README.md

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions examples/application_gateway_ingress/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ resource "azurerm_subnet" "appgw" {
name = "${random_id.prefix.hex}-gw"
resource_group_name = local.resource_group.name
virtual_network_name = azurerm_virtual_network.test[0].name

delegation {
name = "appgw-delegation"

service_delegation {
name = "Microsoft.Network/applicationGateways"
actions = ["Microsoft.Network/virtualNetworks/subnets/join/action"]
}
}
}

# Locals block for hardcoded names
Expand Down
1 change: 1 addition & 0 deletions examples/multiple_node_pools/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ module "aks" {
location = local.resource_group.location
os_disk_size_gb = 60
sku_tier = "Standard"
oidc_issuer_enabled = true
private_cluster_enabled = false
vnet_subnet = {
id = azurerm_subnet.default_node_pool_subnet.id
Expand Down
1 change: 1 addition & 0 deletions examples/named_cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ module "aks_cluster_name" {
not_allowed = []
}
net_profile_pod_cidr = "10.1.0.0/16"
oidc_issuer_enabled = true
private_cluster_enabled = true
role_based_access_control_enabled = true
rbac_aad_tenant_id = data.azurerm_client_config.current.tenant_id
Expand Down
8 changes: 8 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,14 @@ output "node_resource_group_id" {
value = azurerm_kubernetes_cluster.main.node_resource_group_id
}

output "node_pool_name" {
description = "The name(s) of the non-default node pool(s) that are created and associated with the Cluster."
value = merge(
{ for k, p in azurerm_kubernetes_cluster_node_pool.node_pool_create_before_destroy : k => p.name },
{ for k, p in azurerm_kubernetes_cluster_node_pool.node_pool_create_after_destroy : k => p.name }
)
}

output "oidc_issuer_url" {
description = "The OIDC issuer URL that is associated with the cluster."
value = azurerm_kubernetes_cluster.main.oidc_issuer_url
Expand Down
Loading