azurerm_kubernetes_cluster / azurerm_kubernetes_cluster_node_pool - add support for Windows2025 os_sku#32084
Closed
kangjk1017 wants to merge 2 commits intohashicorp:mainfrom
Closed
Conversation
… - add support for `Windows2025` `os_sku` value Azure AKS has GA'd Windows Server 2025 support starting from Kubernetes 1.33. This adds `Windows2025` as a valid `os_sku` value for both the cluster default node pool and standalone node pool resources. Note: Windows2025 requires `fips_enabled = true` as FIPS cannot be disabled on Windows Server 2025 and later. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author
|
Manually tested by a human 🧑💻 (not the AI) on a live AKS 1.33 cluster (Korea Central region):
|
sreallymatt
reviewed
Apr 1, 2026
Collaborator
sreallymatt
left a comment
There was a problem hiding this comment.
Hi @kangjk1017 - vendored files must not be modified, this value is not yet documented in the API spec and as such, cannot yet be supported in this resource. Closing PR.
| OSSKUUbuntuTwoTwoZeroFour OSSKU = "Ubuntu2204" | ||
| OSSKUWindowsTwoZeroOneNine OSSKU = "Windows2019" | ||
| OSSKUWindowsTwoZeroTwoTwo OSSKU = "Windows2022" | ||
| OSSKUWindowsTwoZeroTwoFive OSSKU = "Windows2025" |
Collaborator
There was a problem hiding this comment.
Vendored files must not be modified manually, this code is pulled in from go-azure-sdk, which is generated from the API specs.
Windows2025 is not listed in the API spec as a valid value for the OSSKU enum, this will need to be added by Microsoft before we can expose it in the provider
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Windows2025as a validos_skuvalue forazurerm_kubernetes_cluster(default node pool) andazurerm_kubernetes_cluster_node_poolfips_enabled = trueas FIPS cannot be disabled on Windows Server 2025 and laterChanges
OSSKUWindowsTwoZeroTwoFiveconstant to vendored SDK (agentpools, managedclusters, snapshots)Windows2025toos_skuvalidation in both node pool resourcesWindows2025node pool withfips_enabled = trueWindows2025in possible values and FIPS requirement noteTest plan
go build ./internal/services/containers/...passesTestAccKubernetesClusterNodePool_windows2025- manually verified on AKS 1.33 cluster withos_sku = "Windows2025"andfips_enabled = true, node pool created successfully🤖 Generated with Claude Code