-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Include auto scale settings for Azure VM scale sets #12889
Comments
Thanks for the request here - could you link us to some documentation from Azure on what you need added or describe what you think the UX would be for it? This would help us get it planned thanks Paul |
Thanks for the quick response Paul. There is Azure documentation here describing autoscale using ARM templates. Looking at the Terraform scale set documentation, I can't see any option to set autoscale rules. It would be really useful to be able to set rules based on different metrics such as CPU utilisation. Thanks |
Do you think a resource of it's own would be useful for this? i.e. azurerm_virtual_machine_scale_set_rule And then you could specify multiple rules as multiple resources? |
That sounds like a really good idea! I had to think for a moment as I've only started using Terraform today but I'm pretty sure that would be really useful. Would you specify the scale set in such a resource and then apply the rule? |
I think you would specify them as different resources but the link would be the scaleset id I'll have a look as to what we can do for this |
Thanks Paul! Really appreciate it. |
@whiskeyjay is working on this. |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Would it be possible to include support for Azure VM auto scale rules in Terraform? I'm able to deploy scale sets but it would be excellent to be able to set autoscale rules using Terraform. I've seen this mentioned a couple of times with regards to App Gateway but I'd like to request general support for autoscale settings.
The text was updated successfully, but these errors were encountered: