-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
*_virtual_machine_scale_set
: Do not force recreation on rolling_upgrade_policy
and health_probe_id
update.
#10856
*_virtual_machine_scale_set
: Do not force recreation on rolling_upgrade_policy
and health_probe_id
update.
#10856
Conversation
…grade_policy` update. Fixes #10851
*_virtual_machine_scale_set
: Do not force recreation on rolling_upgrade_policy
update.*_virtual_machine_scale_set
: Do not force recreation on rolling_upgrade_policy
and health_probe_id
update.
Hey @jackofallops, |
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.
Hi @favoretti - Thanks for this PR. It's off to a good start. Could you add tests that cover the update behaviour of these properties now that the can updated in place?
Thanks!
@jackofallops certainly, will do so ASAP. |
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.
Hi @favoretti - Thanks for adding the tests, unfortunately it appears the test you've used as the base is actually broken at the destroy stage due to dependency graph not having information to know when to delete the azurerm_lb_rule
(it's on our list to fix these tests). I've added a suggestion that should allow the tests to pass for now. The same will be needed in the Windows test.
I didn't see a test for updating health_probe_id
, could you add that also?
Thanks!
admin_username = "adminuser" | ||
admin_password = "P@ssword1234!" | ||
|
||
disable_password_authentication = false |
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.
This property is for Linux VMSS only.
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.
My apologies, should've ran all the tests locally. Doing this now and applying fixes.
azurerm/internal/services/compute/linux_virtual_machine_scale_set_other_resource_test.go
Show resolved
Hide resolved
…set_other_resource_test.go Co-authored-by: Steve <[email protected]>
I assume windows tests would work too... Haven't ran them though, sorry. |
|
|
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.
Thanks @favoretti - LGTM 👍
This has been released in version 2.51.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.51.0"
}
# ... other configuration ... |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Fixes #10851