diff --git a/README.md b/README.md
index 6a3e631d..5447c0c7 100644
--- a/README.md
+++ b/README.md
@@ -307,6 +307,8 @@ No modules.
| [http\_application\_routing\_enabled](#input\_http\_application\_routing\_enabled) | Enable HTTP Application Routing Addon (forces recreation). | `bool` | `false` | no |
| [identity\_ids](#input\_identity\_ids) | (Optional) Specifies a list of User Assigned Managed Identity IDs to be assigned to this Kubernetes Cluster. | `list(string)` | `null` | no |
| [identity\_type](#input\_identity\_type) | (Optional) The type of identity used for the managed cluster. Conflicts with `client_id` and `client_secret`. Possible values are `SystemAssigned` and `UserAssigned`. If `UserAssigned` is set, an `identity_ids` must be set as well. | `string` | `"SystemAssigned"` | no |
+| [image\_cleaner\_enabled](#input\_image\_cleaner\_enabled) | (Optional) Specifies whether Image Cleaner is enabled. | `bool` | `false` | no |
+| [image\_cleaner\_interval\_hours](#input\_image\_cleaner\_interval\_hours) | (Optional) Specifies the interval in hours when images should be cleaned up. Defaults to `48`. | `number` | `48` | no |
| [ingress\_application\_gateway\_enabled](#input\_ingress\_application\_gateway\_enabled) | Whether to deploy the Application Gateway ingress controller to this Kubernetes Cluster? | `bool` | `false` | no |
| [ingress\_application\_gateway\_id](#input\_ingress\_application\_gateway\_id) | The ID of the Application Gateway to integrate with the ingress controller of this Kubernetes Cluster. | `string` | `null` | no |
| [ingress\_application\_gateway\_name](#input\_ingress\_application\_gateway\_name) | The name of the Application Gateway to be used or created in the Nodepool Resource Group, which in turn will be integrated with the ingress controller of this Kubernetes Cluster. | `string` | `null` | no |
diff --git a/main.tf b/main.tf
index dffe5878..c0604a32 100644
--- a/main.tf
+++ b/main.tf
@@ -23,6 +23,8 @@ resource "azurerm_kubernetes_cluster" "main" {
disk_encryption_set_id = var.disk_encryption_set_id
dns_prefix = var.prefix
http_application_routing_enabled = var.http_application_routing_enabled
+ image_cleaner_enabled = var.image_cleaner_enabled
+ image_cleaner_interval_hours = var.image_cleaner_interval_hours
kubernetes_version = var.kubernetes_version
local_account_disabled = var.local_account_disabled
node_resource_group = var.node_resource_group
diff --git a/variables.tf b/variables.tf
index 9929c12b..b6ebbba8 100644
--- a/variables.tf
+++ b/variables.tf
@@ -462,6 +462,18 @@ variable "identity_type" {
}
}
+variable "image_cleaner_enabled" {
+ type = bool
+ description = "(Optional) Specifies whether Image Cleaner is enabled."
+ default = false
+}
+
+variable "image_cleaner_interval_hours" {
+ type = number
+ description = "(Optional) Specifies the interval in hours when images should be cleaned up. Defaults to `48`."
+ default = 48
+}
+
variable "ingress_application_gateway_enabled" {
type = bool
default = false