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

re-opening #2806 (adjust autoscale limit validation) #2815

Merged
merged 9 commits into from
Feb 7, 2019
Merged

Conversation

tombuildsstuff
Copy link
Contributor

Including the changes from @georgespatton in #2806 - pushing to that fork broken the PR 🤷‍♂️

Original PR:


This should fix #2136 as well as #2624 to follow the Azure documentation here: https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/overview

Fixes #2136
Fixes #2624

@tombuildsstuff tombuildsstuff changed the title Georgespatton re-opening #2806 Jan 31, 2019
@tombuildsstuff tombuildsstuff requested a review from a team January 31, 2019 18:37
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside from one comment wrt tests LGTM 👍

CheckDestroy: testCheckAzureRMAutoScaleSettingDestroy,
Steps: []resource.TestStep{
{
Config: testAccAzureRMAutoScaleSetting_capacity(ri, location, 1, 3, 2),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should maybe pass in 0s here to ensure its a valid minimum?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree @katbyte perhaps 0 minimum and 1000 maximum per the Microsoft docs as supported bounds of VMSS instance numbers.

tier = "Standard"
capacity = 2
capacity = 30
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs confirmation, but I believe this can go down to 1

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should also be able to goto 0 as well.

@katbyte katbyte changed the title re-opening #2806 re-opening #2806 (adjust autoscale limit validation) Feb 5, 2019
@katbyte katbyte merged commit 66de608 into master Feb 7, 2019
katbyte added a commit that referenced this pull request Feb 7, 2019
@tombuildsstuff tombuildsstuff deleted the georgespatton branch February 7, 2019 09:52
@ghost
Copy link

ghost commented Mar 30, 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 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 👉 hashibot-feedback@hashicorp.com. Thanks!

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