Skip to content
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ The following sections are generated by [terraform-docs](https://github.com/terr
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
| <a name="requirement_azapi"></a> [azapi](#requirement\_azapi) | >=2.0, < 3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.106.1, < 4.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.107.0, < 4.0 |
| <a name="requirement_null"></a> [null](#requirement\_null) | >= 3.0 |
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | >= 3.1 |

Expand All @@ -224,7 +224,7 @@ The following sections are generated by [terraform-docs](https://github.com/terr
| Name | Version |
|------|---------|
| <a name="provider_azapi"></a> [azapi](#provider\_azapi) | >=2.0, < 3.0 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | >= 3.106.1, < 4.0 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | >= 3.107.0, < 4.0 |
| <a name="provider_null"></a> [null](#provider\_null) | >= 3.0 |
| <a name="provider_tls"></a> [tls](#provider\_tls) | >= 3.1 |

Expand Down Expand Up @@ -426,7 +426,7 @@ No modules.
| <a name="input_tracing_tags_prefix"></a> [tracing\_tags\_prefix](#input\_tracing\_tags\_prefix) | Default prefix for generated tracing tags | `string` | `"avm_"` | no |
| <a name="input_ultra_ssd_enabled"></a> [ultra\_ssd\_enabled](#input\_ultra\_ssd\_enabled) | (Optional) Used to specify whether the UltraSSD is enabled in the Default Node Pool. Defaults to false. | `bool` | `false` | no |
| <a name="input_vnet_subnet_id"></a> [vnet\_subnet\_id](#input\_vnet\_subnet\_id) | (Optional) The ID of a Subnet where the Kubernetes Node Pool should exist. Changing this forces a new resource to be created. | `string` | `null` | no |
| <a name="input_web_app_routing"></a> [web\_app\_routing](#input\_web\_app\_routing) | object({<br/> dns\_zone\_id = "(Required) Specifies the ID of the DNS Zone in which DNS entries are created for applications deployed to the cluster when Web App Routing is enabled."<br/>}) | <pre>object({<br/> dns_zone_id = string<br/> })</pre> | `null` | no |
| <a name="input_web_app_routing"></a> [web\_app\_routing](#input\_web\_app\_routing) | object({<br/> dns\_zone\_ids = "(Required) Specifies the list of the DNS Zone IDs in which DNS entries are created for applications deployed to the cluster when Web App Routing is enabled. If not using Bring-Your-Own DNS zones this property should be set to an empty list."<br/>}) | <pre>object({<br/> dns_zone_ids = list(string)<br/> })</pre> | `null` | no |
| <a name="input_workload_autoscaler_profile"></a> [workload\_autoscaler\_profile](#input\_workload\_autoscaler\_profile) | `keda_enabled` - (Optional) Specifies whether KEDA Autoscaler can be used for workloads.<br/>`vertical_pod_autoscaler_enabled` - (Optional) Specifies whether Vertical Pod Autoscaler should be enabled. | <pre>object({<br/> keda_enabled = optional(bool, false)<br/> vertical_pod_autoscaler_enabled = optional(bool, false)<br/> })</pre> | `null` | no |
| <a name="input_workload_identity_enabled"></a> [workload\_identity\_enabled](#input\_workload\_identity\_enabled) | Enable or Disable Workload Identity. Defaults to false. | `bool` | `false` | no |

Expand Down
2 changes: 1 addition & 1 deletion examples/without_monitor/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ module "aks_without_monitor" {
rbac_aad_managed = true
role_based_access_control_enabled = true
web_app_routing = {
dns_zone_id = azurerm_dns_zone.aks_web_app_routing.id
dns_zone_ids = [azurerm_dns_zone.aks_web_app_routing.id]
}
}
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ resource "azurerm_kubernetes_cluster" "main" {
for_each = var.web_app_routing == null ? [] : ["web_app_routing"]

content {
dns_zone_id = var.web_app_routing.dns_zone_id
dns_zone_ids = var.web_app_routing.dns_zone_ids
}
}
dynamic "workload_autoscaler_profile" {
Expand Down
2 changes: 1 addition & 1 deletion v4/main_override.tf
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ resource "azurerm_kubernetes_cluster" "main" {
for_each = var.web_app_routing == null ? [] : ["web_app_routing"]

content {
dns_zone_ids = [var.web_app_routing.dns_zone_id]
dns_zone_ids = var.web_app_routing.dns_zone_ids
}
}

Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1445,12 +1445,12 @@ variable "vnet_subnet_id" {

variable "web_app_routing" {
type = object({
dns_zone_id = string
dns_zone_ids = list(string)
})
default = null
description = <<-EOT
object({
dns_zone_id = "(Required) Specifies the ID of the DNS Zone in which DNS entries are created for applications deployed to the cluster when Web App Routing is enabled."
dns_zone_ids = "(Required) Specifies the list of the DNS Zone IDs in which DNS entries are created for applications deployed to the cluster when Web App Routing is enabled. If not using Bring-Your-Own DNS zones this property should be set to an empty list."
})
EOT
}
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ terraform {
}
azurerm = {
source = "hashicorp/azurerm"
version = ">= 3.106.1, < 4.0"
version = ">= 3.107.0, < 4.0"
}
null = {
source = "hashicorp/null"
Expand Down
Loading