Bert Blommers
2c98b7574b
AutoScaling: create_auto_scaling_group() now supports the MixedInstancesPolicy-parameter ( #5433 )
2022-08-30 10:04:12 +00:00
Bert Blommers
0d393e00b0
EC2: Allow ASG to be created without specifying a Template version ( #5385 )
2022-08-23 16:13:54 +00:00
Bert Blommers
3d913f8f15
MultiAccount support ( #5192 )
2022-08-13 09:49:43 +00:00
Sahil Shah
c0ce38dba8
AWS::AutoScaling::ScheduledAction add more features ( #5305 )
2022-07-28 11:42:32 -03:00
Sahil Shah
40eefb92d7
Add AWS::AutoScaling::ScheduledAction action cloudformation support ( #5289 )
2022-07-25 19:37:22 -03:00
Bert Blommers
2364b7770f
Update TF to latest ( #5266 )
2022-06-26 17:23:26 +00:00
Bert Blommers
79a2a9d423
Preparation for MultiAccount support ( #5157 )
2022-06-04 11:30:16 +00:00
szopen321
dbcee3c196
Add instance type validation on add instance method ( #5132 )
2022-05-18 17:51:51 +00:00
Thomas Rausch
e911341e6a
add indirection to access account id ( #5098 )
2022-05-08 22:25:40 +00:00
Bert Blommers
752eee1941
Autoscaling - create custom BlockDevice in addition to default image block device ( #5050 )
2022-04-22 15:40:30 +00:00
Bert Blommers
8da9666a90
Autoscaling - pass BlockDeviceMapping from launch_config/launch_template ( #5044 )
2022-04-21 14:19:36 +00:00
Bert Blommers
cf2690ca1e
Improvements - Autoscaling ( #4985 )
2022-03-29 21:46:06 +00:00
Bert Blommers
eed32a5f72
Pylint - Enable more rules on source and tests-directory ( #4929 )
2022-03-11 20:28:45 -01:00
Bert Blommers
29d01c35bc
Update Black + formatting ( #4926 )
2022-03-10 13:39:59 -01:00
Bert Blommers
aa70ee254d
Remove deprecated decorators + boto dependency ( #4378 )
2022-01-18 14:18:57 -01:00
Bert Blommers
cf87e75d6e
Feature: Mock region ( #4699 )
2021-12-24 20:02:45 -01:00
Bert Blommers
c6815c1a4b
Pylint - run on source directories (abc only for now) ( #4647 )
2021-12-01 22:06:58 -01:00
Bert Blommers
6376e15171
Autoscaling - Describe Tags ( #4634 )
2021-11-24 22:07:44 -01:00
Bert Blommers
f923d0d1e0
Feature: Custom cloudformation resources ( #4512 )
2021-11-03 20:00:42 -01:00
Bert Blommers
fff69b9faa
Autoscaling - add support for TargetTracking/StepAdjustments in scaling policy ( #4449 )
2021-10-20 17:49:23 +00:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules ( #4432 )
2021-10-18 19:44:29 +00:00
kbalk
3a203d35c9
Implement EC2 describe_vpc_endpoint_services() ( #4322 )
2021-09-24 16:01:09 +00:00
mello7tre
edca235623
Added AutoScalingGroup LifeCycleHook support (fake) ( #4259 )
2021-09-02 14:10:11 +01:00
mello7tre
cfc793014f
Fix/asg attach instances ( #4258 )
2021-09-01 18:50:53 +01:00
Bert Blommers
07bb843214
Fix regex URLs so that a dot is actually interpreted as a dot ( #4110 )
2021-08-28 13:42:45 +01:00
Bert Blommers
79f0cc9e9e
Tech debt - remove dead DynamoDB code and add RDS tests ( #4136 )
2021-08-04 17:24:26 +01:00
Ray Myers
4ae9b0e253
Implement AutoScaling resume_processes and correct behavior of suspend_processes ( #4133 )
...
* Implement AutoScaling resume_processes and correct behavior of suspend_processes
2021-08-04 06:57:21 +01:00
Ray Myers
9bd38f8480
Add autoscaling delete_tags ( #4122 )
2021-08-03 08:00:26 +01:00
Gianluca Pacchiella
273d632515
Fix/autoscaling elb interaction ( #3757 )
...
* Add minimal failing test case.
* Improve ELB instance ids handling.
We need to handle the instances originated by an autoscaling group differently.
2021-04-30 09:29:20 +01:00
Brian Pandola
e8f1522d1a
Improve autoscaling:CreateLaunchConfiguration request validation ( #3687 )
...
AWS requires certain parameters to be mutually inclusive.
Moto wasn't doing anything with the InstanceId parameter, which is now made
clear with a TODO.
2021-02-14 11:38:03 +00:00
Brian Pandola
ae85c539fd
Remove boto
package dependency
...
The `boto` library (long ago superseded by `boto3`) has not had an official
release in over two years or even a commit in the last 18 months. Importing
the package (or indirectly importing it by via `moto`) generates a deprecation
warning. Additionally, an ever-increasing number of `moto` users who have
left `boto` behind for `boto3` are still being forced to install `boto`.
This commit vendors a very small subset of the `boto` library--only the code
required by `moto` to run--into the /packages subdirectory. A README file
is included explaining the origin of the files and a recommendation for how
they can be removed entirely in a future release.
NOTE: Users of `boto` will still be able to use `moto` after this is merged.
closes #2978
closes #3013
closes #3170
closes #3418
relates to #2950
2020-11-26 23:59:15 -08:00
Bert Blommers
273ca63d59
Linting
2020-11-11 15:55:37 +00:00
Matěj Cepl
5697ff87a8
Back to Black
2020-11-10 14:12:38 +01:00
Kevin Frommelt
55b02c6ee9
Add support for Launch Templates in Auto Scaling Groups ( #3236 )
...
* Add support for Launch Templates in Auto Scaling Groups
* Use named parameters, simplify parameter validation
2020-08-26 15:15:07 +01:00
Adam Richie-Halford
9a9a1d8413
Decentralize cloudformation naming responsibilities ( #3201 )
...
* #3127 - Decentralize CF naming responsibilities
* Decentralize CloudFormation naming responsibilities
* Update URLs in cloudformation_resource_type functions
* Fix flake8 errors
* Black formatting
* Add a bunch of imports to populate CloudFormationModel.__subclasses__
* Add noqa to s3 models import statement in cloudformation/parsing.py
* Black formatting
* Remove debugging print statement
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-08-01 15:23:36 +01:00
Zach Brookler
31ce74a842
Fix autoscaling tags ( #3010 )
...
* ENH: Add unit test for propagation tags
* BUG: Add missing translation of boolean PropagateAtLaunch tag values to strings
* BUG: Should really be checking for "true" and not True
* CLN: Black formatting
2020-05-24 12:21:29 +01:00
Denver Janke
9618e29ba9
Always call update ELBs for ASGs ( #2980 )
2020-05-11 07:44:26 +01:00
DenverJ
d745dfd3d2
Implement enter_standby, exit_standby and terminate_instance_in_auto_scaling_group
2020-04-13 10:54:13 +10:00
DenverJ
965046aa39
Fix formatting
2020-04-12 17:08:40 +10:00
DenverJ
593e5dc86a
Add instance-id filter to describe_auto_scaling_instances
2020-04-12 13:44:16 +10:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
Steve Pulec
7ec3d43e0c
Merge pull request #2319 from acsbendi/autoscaling-group-from-instance
...
Implemented creating Auto Scaling group from instance
2019-07-20 00:06:22 -04:00
Steve Pulec
73f3641bb2
Merge pull request #2318 from cjongseok/master
...
Fix 'MaxRecords' type issues by _get_param()
2019-07-19 23:40:57 -04:00
Steve Pulec
e052219161
Merge pull request #2315 from bkovacki/asg_min_max_size_update_desired_capacity_change
...
Handle change of ASG desired capacity on min and max size update
2019-07-19 23:38:16 -04:00
acsbendi
19c9c59367
Implemented Auto Scaling groups recreate terminated instances.
2019-07-19 12:56:27 +02:00
acsbendi
e4374431d6
Fixed instance_id not set to a default value in create_auto_scaling_group.
2019-07-17 21:46:07 +02:00
acsbendi
4834fc41c6
Fixed a linting error.
2019-07-17 21:15:31 +02:00
acsbendi
c8abd43c88
Implemented creating autoscaling group from instance.
2019-07-17 20:58:23 +02:00
Jongseok Choi
5d91ce20fc
Fix 'MaxRecords' type issues by _get_param()
...
It alternates _get_param() with _get_int_param() on parsing the
parameter 'MaxRecords'.
2019-07-18 03:09:53 +09: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