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
a7f3b367b4
Introduce mock_aws() ( #7194 )
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
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
steffyP
7c83ca157f
Core: Parameter handling: fix parsing of >= 10 members ( #7056 )
2023-11-22 18:44:22 -01:00
Macwan Nevil
c1a6609f55
ELBv2: added validation for target group ( #6808 )
2023-09-14 12:52:14 +00:00
Bert Blommers
264723d981
Techdebt: Do not load EC2 images unless necessary, to speed things up ( #6761 )
2023-09-03 14:59:09 +00:00
Bert Blommers
bc29ae2fc3
Techdebt: Update TF tests ( #6661 )
2023-08-21 20:33:16 +00:00
Bert Blommers
0b2e86ce68
Techdebt: Replace sure with regular asserts in Autoscaling ( #6383 )
2023-06-09 11:16:59 +00:00
Ivan-Lukianov
523225d6e9
Autoscaling: Add metrics for E2 target tracking scaling ( #6314 )
2023-05-13 17:08:51 +00: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
1a8ddc0f2b
Techdebt: Replace string-format with f-strings (for tests dirs) ( #5678 )
2022-11-17 21:41:08 -01:00
Bert Blommers
9340335d73
EC2 availability zones in us-west-1: use A and B ( #5515 )
2022-10-02 13:03:03 +00:00
Bert Blommers
37c5be725a
EC2: Fix us-west-1 availability zones to b and c ( #5513 )
2022-10-01 22:33:22 +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
bd051f4f32
Techdebt - Refactor Autoscaling tests ( #5430 )
2022-08-29 20:30:48 +00:00
Bert Blommers
067e008716
Refactor Autoscaling tests ( #5426 )
2022-08-28 14:41:11 +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
szopen321
6b14d01f5d
EC2 - Add ami validation ( #5160 )
2022-05-26 16:04:36 +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
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
6376e15171
Autoscaling - Describe Tags ( #4634 )
2021-11-24 22:07:44 -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
Bert Blommers
e9a4100324
Rewrite deprecated CloudFormation tests ( #3842 )
2021-10-04 13:47:40 +00:00
Bert Blommers
f17b4a3904
Rewrite deprecated Autoscaling tests ( #3907 )
2021-09-22 18:05:28 +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
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
f4b81e69b8
Address pytest warnings ( #3629 )
...
* Address `boto` deprecation warnings
This commit eliminates the following warning:
../boto/ec2/connection.py:582:
PendingDeprecationWarning: The current get_all_instances implementation will be replaced with get_all_reservations.
`boto` isn't likely to ever make good on this warning, but doing the replacement will
declutter the `moto` test output.
* Remove `invoke_lambda` tracebacks from unit test logging
If an exception is encountered, the details are returned in the response payload.
Printing the traceback was just adding noise to the pytest output.
* Use known AMIs in unit tests
This commit eliminates the following warning in the pytest output:
`PendingDeprecationWarning: Could not find AMI with image-id:ami-123456, in the near future this will cause an error.`
Known, pre-loaded AMI image ids are used instead of random ids that don't actually
exist in the moto backend. The integrity of the tests is unaffected by this change.
A test has been added to provide explicit coverage of the PendingDeprecationWarning
raised when an invalid AMI image id is passed to moto.
2021-01-29 11:31:56 +00:00
Brian Pandola
9e1fcac9d4
Use known AMI in internal tests ( #3620 )
...
Moto's implementation of autoscaling:CreateLaunchConfiguration is a little too loose,
allowing the ImageId parameter to be omitted and defaulting it to None, which results
in dozens of deprecation warnings:
`PendingDeprecationWarning: Could not find AMI with image-id:ami-123456, in the near future this will cause an error.`
This commit refactors calls to CreateLaunchConfiguration to explicitly pass in a known
AMI ImageId in order to avoid these warnings.
The integrity of the tests is unaffected by this change.
2021-01-27 19:49:33 +00:00
Bert Blommers
77dd35e3b8
Use known ImageID in internal tests ( #3555 )
2021-01-13 09:02:11 +00: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
Matěj Cepl
ea489bce6c
Finish porting from nose to pytest.
2020-11-10 08:25:05 +01:00
Matěj Cepl
77dc60ea97
Port test suite from nose to pytest.
...
This just eliminates all errors on the tests collection. Elimination of
failures is left to the next commit.
2020-11-10 08:23:44 +01:00