You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
When creating or updating an Azure Kubernetes Cluster and enabling web_app_routing, Terraform requires dns_zone_id to be provided which forces the Azure Kubernetes Cluster to use Azure DNS. Using Azure CLI, web_app_routing can be enabled without providing a dns_zone_id which allows you to bring your own private DNS. Terraform should support allowing you to use web_app_routing without providing an Azure dns_zone_id.
New or Affected Resource(s)/Data Source(s)
azurerm_kubernetes_cluster
Potential Terraform Configuration
resource"azurerm_kubernetes_cluster""example" {
name="example-aks1"location=azurerm_resource_group.example.locationresource_group_name=azurerm_resource_group.example.namedns_prefix="exampleaks1"default_node_pool {
name="default"node_count=1vm_size="Standard_D2_v2"
}
identity {
type="SystemAssigned"
}
web_app_routing {
dns_zone_id=""# Should allow empty string or no value passed, as Azure CLI supports
}
tags={
Environment ="Production"
}
}
References
No response
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Description
When creating or updating an Azure Kubernetes Cluster and enabling web_app_routing, Terraform requires dns_zone_id to be provided which forces the Azure Kubernetes Cluster to use Azure DNS. Using Azure CLI, web_app_routing can be enabled without providing a dns_zone_id which allows you to bring your own private DNS. Terraform should support allowing you to use web_app_routing without providing an Azure dns_zone_id.
New or Affected Resource(s)/Data Source(s)
azurerm_kubernetes_cluster
Potential Terraform Configuration
References
No response
The text was updated successfully, but these errors were encountered: