tungol
55c589072f
Admin: sorting imports with ruff ( #7075 )
2023-11-30 14:55:51 -01: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
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
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
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
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
db559e7e06
Fix some typos
2020-01-14 09:55:32 -08: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
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
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