Ben 11 miesięcy temu
rodzic
commit
324d4a2a19
1 zmienionych plików z 1 dodań i 5 usunięć
  1. 1 5
      app.py

+ 1 - 5
app.py

@@ -121,11 +121,7 @@ def refresh():
         aws_access_key_id="AKIA2TBT2JUNG6X3W737",
         aws_secret_access_key="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")
     response = autoscaling.start_instance_refresh(
-        AutoScalingGroupName="be-ytb-as",
-        Strategy="Rolling",
-        Preferences={
-            "InstanceWarmup": 30
-        })
+        AutoScalingGroupName="be-ytb-as")
     return {
         "response": response
     }