Skip to content

Commit

Permalink
[#3530] Change minimum healthy percent for no-ha
Browse files Browse the repository at this point in the history
No-HA racks only has one instances, and it conflicts when updating
Setting min health to 0 will enable the ApiWebService to be replaced
  • Loading branch information
Twsouza committed Apr 27, 2022
1 parent 6956f68 commit aecbc7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/aws/formation/rack.json
Original file line number Diff line number Diff line change
Expand Up @@ -2845,7 +2845,7 @@
"DependsOn": [ "Instances" ],
"Properties": {
"Cluster": { "Ref": "Cluster" },
"DeploymentConfiguration": { "MinimumHealthyPercent": "50", "MaximumPercent": "200" },
"DeploymentConfiguration": { "MinimumHealthyPercent": { "Fn::If": [ "HighAvailability", "50", "0" ] }, "MaximumPercent": "200" },
"DesiredCount": { "Fn::If": [ "HighAvailability", { "Ref": "ApiCount" }, 1 ] },
"LoadBalancers": [ { "Fn::If": [ "ApiRouterALB",
{ "ContainerName": "web", "ContainerPort": "5443", "TargetGroupArn": { "Ref": "RouterApiTargetGroup" } },
Expand Down

0 comments on commit aecbc7b

Please sign in to comment.