You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#40 added support for optional HTTP headers. However, if none are supplied, the condition block is instantiated with no content.
Error: One of host_header, http_header, http_request_method, path_pattern, query_string or source_ip must be set in a condition block
on .terraform/modules/ecs_web_app.alb_ingress/main.tf line 78, in resource "aws_lb_listener_rule" "authenticated_paths_oidc":
78: resource "aws_lb_listener_rule" "authenticated_paths_oidc" {
Expected Behavior
The condition should not be added to the listener rule if there are no optional headers.
Steps to Reproduce
Apply the module with no optional headers
Screenshots
N/A
Environment (please complete the following information):
N/A
Additional Context
N/A
The text was updated successfully, but these errors were encountered:
Guard the creation of the condition block on the length of the optional
listener_http_header_conditions.
Fixescloudposse#42
# Please enter the commit message for your changes. Lines starting
Found a bug? Maybe our Slack Community can help.
Describe the Bug
#40 added support for optional HTTP headers. However, if none are supplied, the condition block is instantiated with no content.
Expected Behavior
The condition should not be added to the listener rule if there are no optional headers.
Steps to Reproduce
Apply the module with no optional headers
Screenshots
N/A
Environment (please complete the following information):
N/A
Additional Context
N/A
The text was updated successfully, but these errors were encountered: