autoscaling

This commit is contained in:
dzikafoczka 2024-12-21 10:29:41 +01:00
parent 23e1ff30a9
commit b37f82c318

View File

@ -304,7 +304,7 @@ def create_cloudwatch_alarms(cloudwatch_client, sp):
Unit='Percent'
)
print(f"Scale alarm created with ARN: {response['AlarmArn']}")
print(f"Scale-up alarm created")
# Scale-down alarm
response = cloudwatch_client.put_metric_alarm(
@ -326,7 +326,7 @@ def create_cloudwatch_alarms(cloudwatch_client, sp):
Unit='Percent'
)
print(f"Scale-down alarm created with ARN: {response['AlarmArn']}")
print(f"Scale-down alarm created")
# Main function
def main():