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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_virtual_machine_scale_set
Terraform Configuration Files
# Copy-paste your Terraform configurations here - for large Terraform configs,# please use a service like Dropbox and share a link to the ZIP file. For# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp
I have already implemented this feature in this PR.
But this feature only updates the 2.0 vmss resources, azurerm_linux_virtual_machine_scale_set and azurerm_windows_virtual_machine_scale_set, the legacy vmss resource azurerm_virtual_machine_scale_set will not receive any further features.
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
Apr 17, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_virtual_machine_scale_set
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
References
We're using terraform v0.11.3 along with Azure terraform provider v1.41.0.
We use https://www.terraform.io/docs/providers/azurerm/r/virtual_machine_scale_set.html to create our VMSS. The problem is terraform is not giving option or way to change the VMSS default scale-in policy, Refer to https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-scale-in-policy.
As a result when we scale in it will remove the VM with highest ID, thus newer ones, whereas we want to remove older one which would be the policy named
OldestVM
I can do this via Azure CLI or fro Azure Portal but cannot find a way to do via terraform.Are there any plans to fix this in terraform provider?
The text was updated successfully, but these errors were encountered: