You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing attribute license_type should be an in-place update and should work online.
Azure CLI and Azure Portal allow changing this without replacement of VM.
Actual Behavior
Changing attribute license_type forces new resource to be created: ~ license_type = "None" -> "Windows_Client" # forces replacement
Steps to Reproduce
Create azurerm_windows_virtual_machine with license_type = "None"
terraform apply
Change license_type to Windows_Client
terraform plan / terraform apply
Important Factoids
Changing without recreation is possible using Azure built-in features.
The text was updated successfully, but these errors were encountered:
Taking a look through this appears to be a duplicate of #7192 - rather than having multiple issues open tracking the same thing I'm going to close this issue in favour of that one; would you mind subscribing to #7192 for updates?
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!
ghost
locked and limited conversation to collaborators
Jul 22, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.12.24
terraform-provider-azurerm_v2.12.0
Affected Resource(s)
azurerm_windows_virtual_machine
Terraform Configuration Files
Expected Behavior
Changing attribute
license_type
should be an in-place update and should work online.Azure CLI and Azure Portal allow changing this without replacement of VM.
Actual Behavior
Changing attribute
license_type
forces new resource to be created:~ license_type = "None" -> "Windows_Client" # forces replacement
Steps to Reproduce
azurerm_windows_virtual_machine
withlicense_type = "None"
terraform apply
license_type
toWindows_Client
terraform plan
/terraform apply
Important Factoids
Changing without recreation is possible using Azure built-in features.
The text was updated successfully, but these errors were encountered: