Skip to content
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

Closed
tonipepperoniuk opened this issue Mar 20, 2017 · 8 comments
Closed

Include auto scale settings for Azure VM scale sets #12889

tonipepperoniuk opened this issue Mar 20, 2017 · 8 comments

Comments

@tonipepperoniuk
Copy link

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.

@stack72
Copy link
Contributor

stack72 commented Mar 20, 2017

Hi @tonipepperoniuk

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

@tonipepperoniuk
Copy link
Author

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
Anthony

@stack72
Copy link
Contributor

stack72 commented Mar 20, 2017

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?

@tonipepperoniuk
Copy link
Author

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?

@stack72
Copy link
Contributor

stack72 commented Mar 20, 2017

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

@tonipepperoniuk
Copy link
Author

Thanks Paul! Really appreciate it.

@StephenWeatherford
Copy link
Contributor

@whiskeyjay is working on this.

@ghost
Copy link

ghost commented Apr 9, 2020

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.

@ghost ghost locked and limited conversation to collaborators Apr 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants