Skip to content

Commit

Permalink
fix incorrect default value for dns_prefix_private_cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
lonegunmanb committed Aug 27, 2024
1 parent 9b5b9b2 commit 941d76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "azurerm_kubernetes_cluster" "main" {
azure_policy_enabled = var.azure_policy_enabled
disk_encryption_set_id = var.disk_encryption_set_id
dns_prefix = var.private_cluster_enabled == true ? null : var.prefix
dns_prefix_private_cluster = var.private_cluster_enabled == true ? var.prefix : false
dns_prefix_private_cluster = var.private_cluster_enabled == true ? var.prefix : null
image_cleaner_enabled = var.image_cleaner_enabled
image_cleaner_interval_hours = var.image_cleaner_interval_hours
kubernetes_version = var.kubernetes_version
Expand Down

0 comments on commit 941d76b

Please sign in to comment.