File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
litellm-terraform-stack/modules/ecs Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments