diff --git a/README.md b/README.md index b672f4f5..14d182b8 100644 --- a/README.md +++ b/README.md @@ -445,4 +445,5 @@ No modules. | [open\_service\_mesh\_enabled](#output\_open\_service\_mesh\_enabled) | (Optional) Is Open Service Mesh enabled? For more details, please visit [Open Service Mesh for AKS](https://docs.microsoft.com/azure/aks/open-service-mesh-about). | | [password](#output\_password) | The `password` in the `azurerm_kubernetes_cluster`'s `kube_config` block. A password or token used to authenticate to the Kubernetes cluster. | | [username](#output\_username) | The `username` in the `azurerm_kubernetes_cluster`'s `kube_config` block. A username used to authenticate to the Kubernetes cluster. | +| [web\_app\_routing\_identity](#output\_web\_app\_routing\_identity) | The `azurerm_kubernetes_cluster`'s `web_app_routing_identity` block, it's type is a list of object. | diff --git a/outputs.tf b/outputs.tf index 8252ef1a..9845fc56 100644 --- a/outputs.tf +++ b/outputs.tf @@ -223,3 +223,8 @@ output "username" { sensitive = true value = azurerm_kubernetes_cluster.main.kube_config[0].username } + +output "web_app_routing_identity" { + description = "The `azurerm_kubernetes_cluster`'s `web_app_routing_identity` block, it's type is a list of object." + value = try(azurerm_kubernetes_cluster.main.web_app_routing[0].web_app_routing_identity, []) +}