Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add private_dns_zone_id for az-aks tf module #38

Merged
merged 1 commit into from
Mar 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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