diff --git a/README.md b/README.md index 145a9453..ea79c797 100644 --- a/README.md +++ b/README.md @@ -344,6 +344,7 @@ No modules. | [secret\_rotation\_interval](#input\_secret\_rotation\_interval) | The interval to poll for secret rotation. This attribute is only set when `secret_rotation` is `true` and defaults to `2m` | `string` | `"2m"` | no | | [sku\_tier](#input\_sku\_tier) | The SKU Tier that should be used for this Kubernetes Cluster. Possible values are Free and Paid | `string` | `"Free"` | no | | [tags](#input\_tags) | Any tags that should be present on the AKS cluster resources | `map(string)` | `{}` | no | +| [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 | | [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 | ## Outputs diff --git a/main.tf b/main.tf index 7776cea0..227d6baa 100644 --- a/main.tf +++ b/main.tf @@ -55,6 +55,7 @@ resource "azurerm_kubernetes_cluster" "main" { os_disk_type = var.os_disk_type tags = merge(var.tags, var.agents_tags) type = var.agents_type + ultra_ssd_enabled = var.ultra_ssd_enabled vnet_subnet_id = var.vnet_subnet_id zones = var.agents_availability_zones } @@ -78,6 +79,7 @@ resource "azurerm_kubernetes_cluster" "main" { os_disk_type = var.os_disk_type tags = merge(var.tags, var.agents_tags) type = var.agents_type + ultra_ssd_enabled = var.ultra_ssd_enabled vnet_subnet_id = var.vnet_subnet_id zones = var.agents_availability_zones } diff --git a/variables.tf b/variables.tf index 0d236804..5f0695ca 100644 --- a/variables.tf +++ b/variables.tf @@ -464,6 +464,12 @@ variable "tags" { default = {} } +variable "ultra_ssd_enabled" { + type = bool + description = "(Optional) Used to specify whether the UltraSSD is enabled in the Default Node Pool. Defaults to false." + default = false +} + variable "vnet_subnet_id" { type = string description = "(Optional) The ID of a Subnet where the Kubernetes Node Pool should exist. Changing this forces a new resource to be created."