This message was deleted.
# general
s
This message was deleted.
b
Can you do it using the base AWS provider rather than the AWSX one? The main difference is that the container definition in the task definition needs to be a string rather than an object but that should work I think. If you look at my example in the github issue you referenced, you'll see that it outputs the container definition so you can see what it looks like
t
I'll give it a shot. But was hoping that I could somehow manually attach the targetGroups after the resources have been created?
s
I’ve been looking for a workaround here too. Would love to hear what you find out. I’m gonna try using the AWS provider as well, will report back.
I tried this using the
aws
provider instead, and it still doesn’t like two listeners on a
aws.ecs.Service
. I get the following error:
InvalidParameterException: Not allow to have same target groups in a service.
(one listener/tg works fine)
t
Eventually gave up on using awsx for this and just used the normal aws. It's a bit more work in that you need to create all the service accounts etc, but I was doing that anyways.