autoscaling
This commit is contained in:
parent
e3f3ad1e0b
commit
2c03bca76b
@ -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': {
|
||||
|
Loading…
Reference in New Issue
Block a user