Commit Graph

53 Commits

Author SHA1 Message Date
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
Steve Pulec
9e0b8da6cb
Merge pull request #1413 from captainkerk/autoscaling-subnet-or-az-is-required
AWS API raises an exception if both AZ and VPCZoneIdentifier params a…
2018-03-06 22:42:49 -05:00
Jack Danger
52f0d0a4e4 importing sure in tests that require it 2018-01-20 19:44:22 -08: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
f7c775d7ab Revert this solution in favor of fc0fb0d40e. 2016-01-08 17:03:54 -05:00
Steve Pulec
3a2eedc03c Merge pull request #494 from jbencook/BasicECS
Basic ECS support
2016-01-08 17:02:40 -05:00
Steve Pulec
fc0fb0d40e Fix default ASG health check period. 2016-01-08 16:56:10 -05:00
jbencook
38c1ae6bc0 specify region 2015-12-15 19:18:30 +00:00
jbencook
5aca483849 Fix default HealthCheckGracePeriod 2015-12-15 18:58:53 +00: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
Steve Pulec
1814db3dfb Fix launch configuration instance types. 2015-08-03 21:48:17 -04:00
Shawn Falkner-Horine
61d93bfcfc Tests: Tweaked a general test to be compatible with Boto 2.7, attribute check is redundant with a specific version-gated test. 2014-09-10 13:01:32 -07:00
David Baumgold
eedb4c4b73 Support Python 3 using six 2014-08-28 10:57: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
Andrew Gross
ce31b0200a Fix tests when using a working boto version 2014-04-25 16:18:26 -04:00
Andrew Gross
a0e48a6cf5 [Block Device] Add block device mapping to launch config backend 2014-04-24 16:49:16 -04:00
Hugo Lopes Tavares
94abf90920 [tests] Update boto version for the AssociatePublicIpAddress boto fix. Refs #82 2014-03-04 17:40:36 -05:00
Hugo Lopes Tavares
8b6facf133 Add support to launch configuration AssociatePublicIpAddress parameter 2014-03-04 17:39:19 -05:00
Steve Pulec
8b278eb05d Clean up querystring logic. 2013-12-29 21:50:25 -05:00
Steve Pulec
a49bc57279 Adding more boto versions to testing 2013-09-16 21:24:32 -04:00
Steve Pulec
1e11bb1b27 Skip tests for ebs_optimized since it is only in 2.12 2013-09-10 17:04:56 -04:00
Steve Pulec
afad0bed14 Add ebs_optimized parameter to launch configurations 2013-09-10 16:54:57 -04:00