autoscaling
This commit is contained in:
parent
23e1ff30a9
commit
b37f82c318
@ -304,7 +304,7 @@ def create_cloudwatch_alarms(cloudwatch_client, sp):
|
|||||||
Unit='Percent'
|
Unit='Percent'
|
||||||
)
|
)
|
||||||
|
|
||||||
print(f"Scale alarm created with ARN: {response['AlarmArn']}")
|
print(f"Scale-up alarm created")
|
||||||
|
|
||||||
# Scale-down alarm
|
# Scale-down alarm
|
||||||
response = cloudwatch_client.put_metric_alarm(
|
response = cloudwatch_client.put_metric_alarm(
|
||||||
@ -326,7 +326,7 @@ def create_cloudwatch_alarms(cloudwatch_client, sp):
|
|||||||
Unit='Percent'
|
Unit='Percent'
|
||||||
)
|
)
|
||||||
|
|
||||||
print(f"Scale-down alarm created with ARN: {response['AlarmArn']}")
|
print(f"Scale-down alarm created")
|
||||||
|
|
||||||
# Main function
|
# Main function
|
||||||
def main():
|
def main():
|
||||||
|
Loading…
Reference in New Issue
Block a user