Skip to content

Commit

Permalink
skip making non-ssl rules for reviewapps
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsiaw committed Jan 22, 2024
1 parent a425d85 commit 9285310
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/models/backend/ecs/v2/service_stack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ class Builder < CloudFormation::Builder
def build_resources
deps = []
if use_alb?
deps = ['LBListenerRuleHTTP']
deps = []
if !service.heritage.review?
deps << 'LBListenerRuleHTTP'
end

if listener&.endpoint&.https_listener_id&.present?
deps << 'LBListenerRuleHTTPS'
Expand Down

0 comments on commit 9285310

Please sign in to comment.