Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
fix loadbalancer subnets
Browse files Browse the repository at this point in the history
  • Loading branch information
PacoVK committed Feb 14, 2021
1 parent 2709a6b commit 5d5a00f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ecs/awsResources.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,8 @@ func (b *ecsAPIService) ensureLoadBalancer(r *awsResources, project *types.Proje
}

var publicSubNetIDs []string
for _, subNetID := range r.subnetsIDs() {
publicSubNetIDs = append(publicSubNetIDs, subNetID)
for _, subNetID := range r.subnets.public {
publicSubNetIDs = append(publicSubNetIDs, subNetID.ID())
}

template.Resources["LoadBalancer"] = &elasticloadbalancingv2.LoadBalancer{
Expand Down

0 comments on commit 5d5a00f

Please sign in to comment.