compose-x / ecs_composex

Manage, Configure and Deploy your services and AWS services and applications from your docker-compose definitions
https://docs.compose-x.io
Mozilla Public License 2.0
158 stars 16 forks source link

[BUG] LB Lookup requires Listeners? #758

Closed JohnPreston closed 1 month ago

JohnPreston commented 1 month ago

https://github.com/compose-x/ecs_composex/issues/728#issuecomment-2126595236

slootmaekersdirk commented 1 month ago

HJello John,

unfortunately I get warning. in my case I want to add listeners to ALB but it says:

2024-05-28 12:44:06 [ INFO] Processing x-elbv2 2024-05-28 12:44:06 [ WARNING] x-elbv2.modevLB is set for Lookup but has other properties set. Voiding them 2024-05-28 12:44:06 [ WARNING] x-elbv2.modevLB is set for Lookup but has other properties set. Voiding them 2024-05-28 12:44:06 [ INFO] x-elbv2.modevLB - Lookup via Tags

and then ->

2024-05-28 12:44:08 [ WARNING] x-elbv2.modevLB - LB is NLB. Can't assign Listener Rules.

but it is an ALB (type = application)

where do I specify this?

I lookup the loadbalancer based on tags

Lookup:
  loadbalancer:
    Tags:
      Name: modev01lbA

these are the tags associated with the LB:

compose-x:version CreatedByComposeX Name

thx

slootmaekersdirk commented 1 month ago

although I get this errors, It is appended as a new listener to the ALB. so that is ok. I think the issue is coming from the x-ecs_connect entry I now am testing.

I will keep you updated Dirk

slootmaekersdirk commented 1 month ago

FYI, the listeners are working fine. so can you merge it into the trunk and provide a new version?

thx

for the x-ecs-connect, I see you create the name space with 'API calls and DNS queries in VPCs' is there a way to configure it with 'Client' only?