Closed jzheng2022 closed 1 year ago
Closing #253 and reopening this one.
@jzheng2022 this provider feature roll_instances_when_required = true
is actually already introduced, but in the example code, not in the module.
Testing if this can be moved to provider configuration in the module.
unfortunately the module cannot have it's own provider block:
added documentation in #265
Describe the bug
With upgrade_mode = "Manual", if the image id changed, the firewall scale set instance will re-launch randomly. This is caused by (ref https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/features-block#virtual_machine_scale_set) : virtual_machine_scale_set { ... roll_instances_when_required = true ... } This need to be fixed in the code if upgrade_mode = "Manual" is hard coded.
Module Version
v0.5.5
Terraform version
No response
Expected behavior
When change the image id, the vm scale set instance should just shows it is not running the latest version, and not to re-launch the instance.
Current behavior
No response
Anything else to add?
No response