diff --git a/app/models/backend/ecs/v2/service_stack.rb b/app/models/backend/ecs/v2/service_stack.rb index 204d70f8..d253db05 100644 --- a/app/models/backend/ecs/v2/service_stack.rb +++ b/app/models/backend/ecs/v2/service_stack.rb @@ -5,7 +5,7 @@ def build_resources deps = [] if use_alb? deps = [] - if !service.heritage.review? + if !service&.heritage&.review? deps << 'LBListenerRuleHTTP' end