CloudNationHQ / terraform-azure-aks

Terraform module which creates azure kubernetes resources used by workloads and accelerators.
https://library.tf/modules/CloudNationHQ/aks/azure/latest
MIT License
0 stars 1 forks source link

[REQUEST] -Add ability to add optional parameter 'drain_timeout_in_minutes' and 'storage_profile' #87

Closed renuka-sharma closed 1 month ago

renuka-sharma commented 2 months ago

Is there an existing issue for this?

Description

I am moving existing AKS cluster for fysiologic to CN module, i need those option parameter to move the cluster.

` # module.aks.azurerm_kubernetes_cluster.aks must be replaced

(moved from module.Infrastructure.module.aks.azurerm_kubernetes_cluster.aks)

-/+ resource "azurerm_kubernetes_cluster" "aks" {

  ~ default_node_pool {
      - custom_ca_trust_enabled       = false -> null
      - fips_enabled                  = false -> null
      - max_count                     = 0 -> null
      - min_count                     = 0 -> null
        name                          = "default"
      ~ node_labels                   = {} -> (known after apply)
      - node_taints                   = [] -> null
      - tags                          = {} -> null
      + workload_runtime              = (known after apply)
      ~ zones                         = [
          + "1",
          + "2",
        ]
        # (25 unchanged attributes hidden)
      - upgrade_settings {
          - drain_timeout_in_minutes      = 30 -> null # forces replacement
          - node_soak_duration_in_minutes = 0 -> null
            # (1 unchanged attribute hidden)
        }
    }

`

Potential Terraform Configuration

No response

References

No response