autoscaling
This commit is contained in:
parent
23e1ff30a9
commit
b37f82c318
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user