diff --git a/worker.go b/worker.go index 8c739b6c..e6f277d5 100644 --- a/worker.go +++ b/worker.go @@ -454,7 +454,7 @@ func matchIngressesToLoadBalancers( } // Ignore NLBs with a wrong set of subnets - if lb.loadBalancerType == aws.LoadBalancerTypeNetwork { + if lb.loadBalancerType == aws.LoadBalancerTypeNetwork && lb.stack != nil { subnets := subnetsByScheme(lb.scheme) sort.Strings(subnets) sort.Strings(lb.stack.Subnets)