119 Commits

Author SHA1 Message Date
Bert Blommers
33d3745263
EC2: Add additional VPC Endpoint Services (#7509) 2024-03-22 07:38:57 -01:00
Akira Noda
90bdd72555
Admin: Using ruff format instead of black (#7502) 2024-03-21 19:17:29 -01:00
Jamaal Scarlett
caac727530
Sets autoscalinggroup CreatedTime during creation. (#7478) 2024-03-16 22:17:15 -01:00
Satish Lakkoju
e2529697c7
ASG: support filters in describe_autoscaling_groups (#7383) 2024-02-22 22:08:55 -01:00
Max Granat
0758e9cf74
Add ASG Scheduled Scaling Action batch APIs (#7323) 2024-02-10 10:01:12 -01:00
Bert Blommers
dea4a98b64 Techdebt: Remove old/deprecated code (#7220) 2024-01-27 19:38:09 +00:00
tungol
55c589072f
Admin: sorting imports with ruff (#7075) 2023-11-30 14:55:51 -01:00
Bert Blommers
d6377ff905
Techdebt: Improve some type annotations (#7072) 2023-11-28 21:01:56 -01:00
Bert Blommers
9e7295ddef
Prep release 4.2.10 (#7064) 2023-11-24 19:17:50 -01:00
Bert Blommers
4146737321
Autoscaling: describe_tags() now supports the key/value filters (#7061) 2023-11-23 19:17:22 -01:00
Bert Blommers
bc29ae2fc3
Techdebt: Update TF tests (#6661) 2023-08-21 20:33:16 +00:00
Bert Blommers
b8350f2801
Techdebt: MyPy EC2 (t-models) (#5922) 2023-02-12 16:53:36 -01:00
Bert Blommers
9870a7af6d
Techdebt: MyPy EC2 (i-models) (#5903) 2023-02-05 19:26:25 -01:00
Bert Blommers
ef1fab008a
ECS: Various improvements (#5880) 2023-01-29 22:47:50 -01:00
Bert Blommers
b0b943949d
Techdebt: Replace string-format with f-strings (for a* dirs) (#5661) 2022-11-12 12:32:07 -01:00
Bert Blommers
ea8718d402
TechDebt: Move BackendDict to base_backend (#5645) 2022-11-10 08:43:20 -01:00
Bert Blommers
62f93c7ed0
Techdebt: MyPy Autoscaling (#5581) 2022-10-19 20:56:24 +00:00
Bert Blommers
aa7d68a688
Feature: Ability to seed Moto, and make random ID's deterministic (#5492) 2022-09-28 09:35:12 +00:00
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
cf87e75d6e
Feature: Mock region (#4699) 2021-12-24 20:02:45 -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
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
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