Azure / terraform-azurerm-aks

Terraform Module for deploying an AKS cluster
MIT License
328 stars 446 forks source link

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

Open zioproto opened 7 months ago

zioproto commented 7 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 5 months ago

+1 for this