Skip to content

Commit

Permalink
Merge pull request #38 from using-system/features/aks-configure-end-p…
Browse files Browse the repository at this point in the history
…oint

feat: Add private_dns_zone_id for az-aks tf module
  • Loading branch information
using-system authored Mar 30, 2024
2 parents 7b12ed1 + 7bc9022 commit 4d1422c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions terraform/modules/az-aks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ resource "azurerm_kubernetes_cluster" "aks" {
private_cluster_enabled = var.configuration.private_cluster
local_account_disabled = var.configuration.local_account_disabled
automatic_channel_upgrade = var.configuration.automatic_channel_upgrade
private_dns_zone_id = var.private_dns_zone_id

default_node_pool {
name = "defaultpool"
Expand Down
5 changes: 5 additions & 0 deletions terraform/modules/az-aks/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ variable "subnet_id" {
description = "Id of the subnet to attach aks nodes"
}

variable "private_dns_zone_id" {
description = "Id of the private dns zone to attach aks"
default = null
}

variable "tags" {
description = "Tags to associate with resources."
type = map(string)
Expand Down

0 comments on commit 4d1422c

Please sign in to comment.