-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
provider/aws: Support suspending auto scaling group processes #5107
provider/aws: Support suspending auto scaling group processes #5107
Conversation
Hi @tpounds, I think this needs to change slightly, currently (in other resources), when we have an update command after a create command, the create should call the update command (e.g. resource_aws_instance.go)
I think will have to be the pattern in this case as well. Thoughts? Paul |
@stack72 I agree creating and then updating is cleaner. I'll ping you once I make the necessary changes to the resource. |
@tpounds any luck with these updates yet? :) |
@stack72 Sorry I haven't provided an update yet. I took a look and updating the create/update code paths like you described requires consolidation of the auto scaling group wait for capacity logic (see: resource_aws_autoscaling_group.go:225, :380). In addition to that change, special care is required to prevent waiting when the Launch or Terminate policies are suspended since you might wait around forever for the capacity to spin up/down. My high-level thoughts to fix this are as follows:
Thoughts? |
We've love support for this as well. Any reason this PR stagnated? Can I help get it over the line? |
Closed via #10096 |
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. |
Adds support for suspending/resuming auto scaling group processes (e.g. Launch, Terminate, etc.).
see: http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/US_SuspendResume.html