Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit 7dd907b

Browse files
committed
debugging flower health check
1 parent 6b5241d commit 7dd907b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

awscdk/awscdk/flower.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def __init__(self, scope: core.Construct, id: str, **kwargs,) -> None:
3131
log_retention=logs.RetentionDays.ONE_DAY,
3232
),
3333
command=[
34+
"flower",
3435
"--url_prefix=flower",
3536
f"--broker={CELERY_BROKER_URL}",
3637
f"--basic_auth=flower:{FLOWER_PASSWORD}",
@@ -62,6 +63,6 @@ def __init__(self, scope: core.Construct, id: str, **kwargs,) -> None:
6263
priority=1,
6364
path_patterns=["/flower/*", "flower/*"],
6465
health_check=elbv2.HealthCheck(
65-
healthy_http_codes="200-401", path="/flower/"
66+
healthy_http_codes="200-299", path="/api/health-check/"
6667
),
6768
)

0 commit comments

Comments
 (0)