From 2c03bca76ba04b4a037bbec120dda27cbd311bf7 Mon Sep 17 00:00:00 2001 From: dzikafoczka Date: Sat, 21 Dec 2024 09:40:18 +0100 Subject: [PATCH] autoscaling --- autoscaling.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/autoscaling.py b/autoscaling.py index bf43491..ab32c6a 100644 --- a/autoscaling.py +++ b/autoscaling.py @@ -270,9 +270,6 @@ def put_scaling_policies(autoscaling_client, asg_arn): AutoScalingGroupName=f"{PREFIX}-asg", PolicyName=f"{PREFIX}-scale-up", PolicyType='TargetTrackingScaling', - AdjustmentType="ChangeInCapacity", - ScalingAdjustment=1, - MetricAggregationType="Average", Cooldown=180, TargetTrackingConfiguration={ 'PredefinedMetricSpecification': { @@ -289,9 +286,6 @@ def put_scaling_policies(autoscaling_client, asg_arn): AutoScalingGroupName=f"{PREFIX}-asg", PolicyName=f"{PREFIX}-scale-down", PolicyType='TargetTrackingScaling', - AdjustmentType="ChangeInCapacity", - ScalingAdjustment=1, - MetricAggregationType="Average", Cooldown=180, TargetTrackingConfiguration={ 'PredefinedMetricSpecification': {