Current module does not support 'dns_prefix_private_cluster' for private clusters #568
Open
1 task done
Labels
bug
Something isn't working
Is there an existing issue for this?
Greenfield/Brownfield provisioning
greenfield
Terraform Version
1.8.2
Module Version
9.0.0
AzureRM Provider Version
3.108.1
Affected Resource(s)/Data Source(s)
azurerm_kubernetes_cluster.main
Terraform Configuration Files
N/A
tfvars variables values
N/A
Debug Output/Panic Output
Expected Behaviour
either set the dns_prefix_private_cluster to the var.prefix value when private cluster enabled, or provide an additional variable for dns_prefix_private_cluster to explicitly set.
Only dns_prefix or dns_prefix_private_cluster can be set on a given cluster per the documentation: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster#dns_prefix_private_cluster
Actual Behaviour
There is no way to set dns_prefix_private_cluster for a private enabled cluster, so it defaults to a randomly generated value.
https://github.com/Azure/terraform-azurerm-aks/blob/main/main.tf
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: