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.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azurerm_kubernetes_cluster_node_pool
: Adds support fortemporary_name_for_rotation
#27791azurerm_kubernetes_cluster_node_pool
: Adds support fortemporary_name_for_rotation
#27791Changes from 7 commits
28cd0a6
9f16c5f
bea1b62
262a984
aacec00
9587d0f
10394d4
95a3f19
71939b0
2385b1b
67c5bcc
b3ff967
cbdf94e
51cb263
6bf82b9
37ad21e
28e85bb
1b8100e
9e8e171
22e2f23
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two lines are very important and need to be added back in since we're collecting all of the changes made to a resource in the
props
object.The existing resource's
Properties
needs to be replaced/overridden with the objectprops
otherwise all references toexisting.Model
won't contain the changes made to the resource.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The variable
props
is created above byprops := existing.Model.Properties
, which means that the props variable will hold a reference to the original Properties field of existing.Model. Therefore, any changes made to props will also affect existing.Model.Properties and is not necessary to reassign back.The log line has been moved down, in the else part of
if cycleNodePool {
.