Skip to content

Commit dc74846

Browse files
author
tierfour
committed
fix ecs listener rules preventing bedrock endpoints from being reached
1 parent 4570827 commit dc74846

File tree

1 file changed

+0
-20
lines changed
  • litellm-terraform-stack/modules/ecs

1 file changed

+0
-20
lines changed

litellm-terraform-stack/modules/ecs/alb.tf

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -444,26 +444,6 @@ resource "aws_lb_listener_rule" "health_check_exception_http" {
444444
}
445445
}
446446

447-
# CloudFront authentication rule for HTTP
448-
resource "aws_lb_listener_rule" "cloudfront_auth_http" {
449-
count = var.use_cloudfront ? 1 : 0
450-
listener_arn = aws_lb_listener.http.arn
451-
priority = 5 # Second priority, after health checks
452-
453-
action {
454-
type = "forward"
455-
target_group_arn = aws_lb_target_group.tg_4000.arn
456-
}
457-
458-
# Check for the CloudFront secret header
459-
condition {
460-
http_header {
461-
http_header_name = "X-CloudFront-Secret"
462-
values = ["litellm-cf-${random_password.cloudfront_secret[0].result}"]
463-
}
464-
}
465-
}
466-
467447
# Duplicate all path-specific rules for the HTTP listener with header authentication
468448

469449
# bedrock model for HTTP

0 commit comments

Comments
 (0)