azurerm_kubernetes_cluster, azurerm_kubernetes_cluster_node_pool - vm_size is optional#29612
Merged
katbyte merged 2 commits intohashicorp:mainfrom Jun 3, 2025
Merged
Conversation
…- `vm_size` is optional
ms-zhenhua
approved these changes
May 15, 2025
Collaborator
ms-zhenhua
left a comment
There was a problem hiding this comment.
Hi @ms-henglu ,
Thank you for the PR. LGTM~
Collaborator
Author
|
The failed tests are unrelated with this change. |
katbyte
requested changes
May 26, 2025
Comment on lines
+114
to
+115
| Optional: true, | ||
| Computed: true, |
Collaborator
There was a problem hiding this comment.
could we add a comment here why this needs to be optional and computed?
Suggested change
| Optional: true, | |
| Computed: true, | |
| // NOTE: O+C reason why | |
| Optional: true, | |
| Computed: true, |
Collaborator
Author
|
Thanks @katbyte for the code review. I've updated it as suggested. |
katbyte
added a commit
that referenced
this pull request
Jun 3, 2025
wyattfry
pushed a commit
that referenced
this pull request
Jun 5, 2025
Contributor
|
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Community Note
Description
This PR changes the
vm_sizeto optional, because AKS RP provides a new feature that will automatically select an available vm size when it's omitted.And the selected vm_size will be returned in GET response, so I also marked them as
Computed.PR Checklist
For example: “
resource_name_here- description of change e.g. adding propertynew_property_name_here”Changes to existing Resource / Data Source
Testing
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_resource- support for thething1property [GH-00000]This is a (please select all that apply):
Related Issue(s)
Fixes #0000
Note
If this PR changes meaningfully during the course of review please update the title and description as required.