Commit Graph

88 Commits

Author SHA1 Message Date
acsbendi
201d9fb491 Created test for terminating instance in an Auto Scaling group. 2019-07-18 20:30:07 +02:00
acsbendi
4ca0bd807f Created tests for calling CreateAutoScalingGroup with an instance id. 2019-07-17 20:15:59 +02:00
Berislav Kovacki
1b3157ced0 Handle change of ASG desired capacity on min and max size update
A change in UpdateAutoScalingGroup:
* if a value for MinSize is specified without specifying a value for
DesiredCapacity, and the new MinSize is larger than the current size of
the group, set the group's DesiredCapacity to the new MinSize value
* if a value for MaxSize is specified without specifying a value for
DesiredCapacity, and the new MaxSize is smaller than the current size of
the group, set the group's DesiredCapacity to the new MaxSize value
2019-07-16 09:12:03 +02:00
David
868d0107bf Autoscaling instance azs (#2030)
* Add instance AZ support in autoscaling

* Resolve py36-py27 format string error in test_autoscaling
2019-05-25 11:18:16 +01:00
Robert Lewis
570b73691b Add requestid checking for autoscaling 2019-01-20 22:54:05 -08:00
Ka Wai Wan
df2120f38c Add instance protection support in autoscaling, with tests 2018-11-24 02:32:53 -08:00
Jim Shields
baedbfa8ca Fix test_suspend_processes
* Add `region_name` to the client to be consistent with other tests
* Add `VPCZoneIdentifier` to the ASG creation (AZ or VPC is required)
* Add myself as a contributor
2018-03-09 18:00:23 -05:00
Jim Shields
bfeea00774 Fix #1370: Implement suspend_processes in AutoScaling service 2018-03-09 16:55:30 -05:00
captainkerk
144611ff99 define setup_networking_deprecated() method to create supporting
resources for tests that use deprecated methods
2017-12-29 03:00:53 +00:00
captainkerk
fe1293ee5b remove unnecessary empty line 2017-12-27 20:31:57 +00:00
captainkerk
59cf81fd56 AWS API raises an exception if both AZ and VPCZoneIdentifier params are empty. mock that exception, fix
tests to follow that pattern.
2017-12-27 19:17:59 +00:00
Jack Danger
aaa0202d08 Merge pull request #1285 from captainkerk/autoscaling-load-balancer-target-group-support
Add ELBv2 Support  to Autoscaling Service
2017-10-23 09:41:52 -07:00
captainkerk
993b092083 add target_group support to autoscaling service 2017-10-21 17:29:22 +00:00
Paul Carleton
685e9163a8 Add set-instance-health support 2017-10-20 11:26:23 -07:00
Paul Carleton
21c3775cb1 Add health status to autoscaling instances 2017-10-20 11:26:23 -07:00
John Kerkstra
b8bb6c2dcf Fix bug with update_attached_elbs (#1266)
* fixed bug where we were using elb_backend.describe_load_balancers
incorrectly, returning all available load balancers when we wanted none.

* improve skip, clean up tests
2017-10-16 22:04:47 -07:00
John Kerkstra
0af3427c15 Add autoscaling load balancer methods (#1265)
* add attach_load_balancers, detach_load_balancers,
describe_load_balancers methods

* prefer using amzn_request_id decorator to generate unique request ids
2017-10-16 19:07:00 -07:00
John Kerkstra
5ef236e966 Add attach_ and detach_instances methods to autoscaling service (#1264)
* add detach_instances functionality to autoscaling service

* use ASG_NAME_TAG constant

* cleanup models method a bit, add mocked DetachInstancesResult to
response template

* add attach_instances method
2017-10-16 17:09:51 -07:00
William Richard
c5ce2848be
Boto3 and cloudformation have different keys for auto scaling tags - handle that gracefully 2017-06-21 15:59:03 -04:00
Paul Carleton
dc0edb9b8c Add test for asg tags 2017-06-09 13:10:00 -07:00
Steve Pulec
0adebeed24 Merge #913. 2017-05-10 21:58:42 -04:00
Steve Pulec
f37bad0e00 Lints. 2017-02-23 21:37:43 -05:00
Steve Pulec
fde721bed7 Testing new version of decorator. 2017-02-15 22:35:45 -05:00
Jia Chen
2a02259a3c Adding PolicyType to scaling policy and implementing filtering in describe_policies (#797)
* Adding PolicyType to FakeScalingPolicy

* Implement filtering for AutoScalingBackend.describe_policies(...)

* Unit test for describe_policies fuction in autoscaling
2017-01-11 20:40:57 -05:00
Jesse Chahal
1d2042876e added update_and_create_tags() to autoscale groups 2016-06-17 18:51:28 -07:00
Marco Rucci
a330b1d346 ELBs can now be deleted before their autoscaling groups.
Also, fix name clash in autoscaling tests.
2016-05-15 21:17:59 +02:00
Steve Pulec
8ce2d3c8bf Cleanup updating ASGs. Closes #603. 2016-05-04 22:10:11 -04:00
Steve Pulec
c308ef4364 Fix update_auto_scaling_group. Closes #596. 2016-05-01 22:34:16 -04:00
Steve Pulec
fc0fb0d40e Fix default ASG health check period. 2016-01-08 16:56:10 -05:00
Steve Pulec
5d421dc343 Cleanup querying missing ELB error. 2015-12-13 22:41:17 -05:00
Marco Rucci
c8b7511341 Manage instances of ELBs attached to autoscaling group. 2015-12-09 21:40:48 +01:00
milesoc
b3096af098 Set tags in response, fix tests for tags 2015-10-06 18:07:58 +00:00
Miles O'Connell
3c38a551b2 Adding tags to AutoScalingGroups 2015-10-06 09:21:26 -07:00
Steve Pulec
df6ff57d24 Fix ASG instance_type. 2015-08-03 21:52:43 -04:00
David Baumgold
4201e6b430 from __future__ import unicode_literals 2014-08-27 11:33:55 -04:00
Marco Rucci
ada20cea61 Fix retrieval of autoscaling group instances. 2014-07-13 20:47:35 +02:00
Steve Pulec
161a5744d1 Add more autoscaling params 2013-08-03 17:09:36 -04:00
Steve Pulec
d57157e749 Merge in autoscaling 2013-07-27 16:24:38 -04:00