Using terraform azurerm to configure AKS, do I need to care for the ManagedClusterSKUName?

64411531 25 Reputation points
2023-03-28T09:10:50.68+00:00

End of March '23 Azure announced a breaking change with Azure API 2023-02-01 and recommended to adjust the ManagedClusterSKUName and ManagedClusterSKUTier to the values of the new API soon. The Azure documentation only explains how to do this with Azure CLI, but I am using Terraform (and I don't want to tweak the configuration using both az-cli and terraform, to avoid conflicts from manual vs automated configuration).

However, the current Terraform provider azurerm 3.49.0 only has an sku_tier parameter, but none for SKU name.

If this sku_tier is already set to a value valid for the new API, is any further action required regarding the SKU name? Or is the terraform provider already handling that under the hood? Or is the terraform provider just not up-to-date yet for the new API?

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,871 questions
0 comments No comments
{count} vote

Accepted answer
  1. Andriy Bilous 10,976 Reputation points MVP
    2023-03-29T09:02:24.4233333+00:00

    Hello @64411531

    Update March 29.03.2023 - Unfortunately terraform provider just not up-to-date yet for the new Azure API 2023-02-01
    https://github.com/hashicorp/terraform-provider-azurerm/issues/20887

    Terraform v3.46.0 azurerm_kubernetes_cluster supports for Standard with the sku_tier
    Terraform provider already handling SKU name under the hood
    https://github.com/hashicorp/terraform-provider-azurerm/blob/v3.46.0/CHANGELOG.md#3460-march-02-2023

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful