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

dynamic blocks and properties needs more alignment #75

Closed dkooll closed 2 months ago

dkooll commented 4 months ago

The dynamic blocks need to be better aligned with the provider naming conventions

for example:

  dynamic "service_mesh_profile" {
    for_each = try(var.cluster.profile.service_mesh, null) != null ? { "default" = var.cluster.profile.service_mesh } : {}

or

 dynamic "workload_autoscaler_profile" {
    for_each = try(var.cluster.profile.autoscaler, null) != null ? { "default" = var.cluster.profile.autoscaler } : {}
dkooll commented 2 months ago

deprecated ones needs to be removed or replaced as well