We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6797ba2 commit 1a66a1fCopy full SHA for 1a66a1f
terraform/asg.tf
@@ -21,7 +21,7 @@ module "autoscaling" {
21
# Mixed Instances Policy for better availability
22
mixed_instances_policy = {
23
instances_distribution = {
24
- on_demand_base_capacity = 0
+ on_demand_base_capacity = 1
25
on_demand_percentage_above_base_capacity = 0
26
spot_allocation_strategy = "capacity-optimized"
27
}
terraform/python_backend/main.tf
@@ -54,7 +54,7 @@ resource "aws_ecs_task_definition" "python_backend" {
54
55
56
healthCheck = {
57
- command = ["CMD-SHELL", "wget -q -O /dev/null http://localhost:8000/healthz"]
+ command = ["CMD-SHELL", "curl -f -s -o /dev/null http://localhost:8000/healthz"]
58
interval = 30
59
timeout = 5
60
retries = 3
0 commit comments