Closed cberge908 closed 3 weeks ago
Hi @rcskosir ,
Thank you for taking time to report this issue.
This requires that the Preview Feature Microsoft.ContainerService/OSSKUMigrationPreview is enabled and the Resource Provider is re-registered, see the documentation for more information.
Hi @ms-henglu
the MS documentation does not mention this preview feature on the page anymore. I can also not find this feature in the list of preview feature that could be enabled in my subscriptions.
Side note: Due to the fact that this preview feature is not existing anymore, I've opened a PR yesterday to remove exactly this info box from the provider documentation - https://github.com/hashicorp/terraform-provider-azurerm/pull/26719
Any other idea?
Cheers, @cberge908
@rcskosir, error PropertyChangeNotAllowed
isn't related to AzureRM provider - it's an AKS API response to OS SKU change request. The reason of that situation is that your cluster isn't supporting yet that functionality - also like mine. It is being still deployed to some regions, so you have to wait until your cluster will get 2024-07-16 release.
@ptrautberg thanks for the input. As this is related to the AKS API we can close this issue from my point of view. We were able to change the property in the meantime.
Is there an existing issue for this?
Community Note
Terraform Version
OpenTofu v1.7.3
AzureRM Provider Version
v3.113.0
Affected Resource(s)/Data Source(s)
azurerm_kubernetes_cluster, azurerm_kubernetes_cluster_node_pool
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
OS SKU has been changed to
AzureLinux
. The original setting was "Ubuntu". We would expect that the nodepool is being updated with the AzureLinux image, according to https://learn.microsoft.com/en-us/azure/azure-linux/tutorial-azure-linux-migration?tabs=terraformActual Behaviour
tofu apply
/terraform apply
fails with the above mentioned error.Steps to Reproduce
os_sku
on existing AKS cluster with the current settingUbuntu
toAzureLinux
terraform apply
ortofu apply
Important Factoids
none
References
No response