Skip to content

Commit

Permalink
Add support for variable "vnet_integration_enabled"
Browse files Browse the repository at this point in the history
Implements Azure#393
  • Loading branch information
anroots-by committed Apr 12, 2024
1 parent c9174e5 commit 4c615ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ resource "azurerm_kubernetes_cluster" "main" {
content {
authorized_ip_ranges = var.api_server_authorized_ip_ranges
subnet_id = var.api_server_subnet_id
vnet_integration_enabled = var.vnet_integration_enabled
}
}
dynamic "auto_scaler_profile" {
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,12 @@ variable "api_server_subnet_id" {
description = "(Optional) The ID of the Subnet where the API server endpoint is delegated to."
}

variable "vnet_integration_enabled" {
type = bool
default = false
description = "(Optional) Should API Server VNet Integration be enabled? For more details please visit Use API Server VNet Integration."
}

variable "attached_acr_id_map" {
type = map(string)
default = {}
Expand Down

0 comments on commit 4c615ce

Please sign in to comment.