Open wj-exacta opened 5 months ago
Also just ran into the same problem when launching on fargate. hey man, if you find a solution, post about it for sure.
Also just ran into the same problem when launching on fargate. hey man, if you find a solution, post about it for sure.
Definitely will - I'm still working on it with negative results so far.
and so what I've been able to find out. when you use fargate, only the use of awsvpc network mode is available. And you always need to specify vpc and subnets in the service or task settings. I'm going to try to use task-params.json with the network settings
I tried to do a task-params.json as well, but couldn't get it working. If you get it going, could you post back and show me your code so I can take a look please?
Hey guys, there is a long time I don't use this project, but as far as I remember you can't use it with fargate tasks. Because, you need too many privileges from host that in fargate tasks, we don't have.
The main reason for that is we need to share the docker socket file unix:///var/run/docker.sock
to build docker images, however, when we use fargate tasks the AWS don't share anything from the host machine.
Maybe @vschettino knows something else about that.
This isn't so much an issue as a question - is this action supposed to work with AWS Fargate task definitions/clusters? When I try to use Fargate, which forces "awsvpc" networking type, I get the following error: "InvalidParameterException: An error occurred (InvalidParameterException) when calling the RunTask operation: Network Configuration must be provided when networkMode 'awsvpc' is specified."
I've tried to add network params to the action (in the pre-job job as shown in the example in the readme), but this issue persists.
Any insight is appreciated!