Skip to content

Commit

Permalink
Utilise Route53 HTTPS health checks
Browse files Browse the repository at this point in the history
HTTP health checks continue to succeed when no keycloak pods exist as a
TLS EOF exception is encountered, not a 5xx response code.
  • Loading branch information
ryanemerson committed Aug 30, 2023
1 parent 1b94694 commit 147a65a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions provision/aws/route53/route53_create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ function createHealthCheck() {
--output text \
--health-check-config '
{
"Type": "HTTP",
"Type": "HTTPS",
"ResourcePath": "/health/live",
"FullyQualifiedDomainName": "'$1'",
"Port": 80,
"Port": 443,
"RequestInterval": 30,
"FailureThreshold": 1
"FailureThreshold": 1,
"EnableSNI": true
}
'
}
Expand Down

0 comments on commit 147a65a

Please sign in to comment.