Azure / terraform-azurerm-aks

Terraform Module for deploying an AKS cluster
MIT License
359 stars 469 forks source link

Support for Support for AKS application routing add-on Key Vault integration (GA) #483

Open zioproto opened 11 months ago

zioproto commented 11 months ago

Is there an existing issue for this?

Description

The Managed nginx Ingress with the application routing add-on has a Key Vault integration (GA).

Documentation page: https://learn.microsoft.com/en-us/azure/aks/app-routing-dns-ssl#enable-azure-key-vault-integration

New or Affected Resource(s)/Data Source(s)

azurerm_kubernetes_cluster

Potential Terraform Configuration

This should be integrated here: https://github.com/Azure/terraform-azurerm-aks/blob/10a3fa9f67390576b0e240865668f684188d934a/main.tf#L497-L503

  dynamic "web_app_routing" {
    for_each = var.web_app_routing == null ? [] : ["web_app_routing"]

    content {
      dns_zone_id = var.web_app_routing.dns_zone_id
      keyvault_id = var.key_vault.id
    }
  }

References

This PR is pending on this azurerm provider PR: https://github.com/hashicorp/terraform-provider-azurerm/issues/24131

CrisNevares commented 9 months ago

+1 for this