Luke Orland
02/21/2020, 4:24 PMFargateTaskEnvironment
.
1. Can it just run an existing ECS task definition, or does it always register a new task definition based on the specified family/taskDefinition?
2. If it can just run an existing ECS task definition, what would the minimal necessary arguments be, something like FargateTaskEnvironment(taskDefinition='my-ecr-task-definition')
, assuming AWS credentials are accessible by boto3 via the environment?
3. If it always generates/registers a new task definition, what would the minimal set of required arguments?
I could probably go through the process of figuring that out by running boto3.client('ecs').run_task(*args)
until I get the desired task definition running and then translate that into FargateTaskEnvironment
arguments. Curious if someone has gone through this process already.Braun Reyes
02/21/2020, 4:29 PMLuke Orland
02/21/2020, 4:34 PMBraun Reyes
02/21/2020, 4:36 PMLuke Orland
02/21/2020, 4:50 PMJeff Brainerd
02/23/2020, 1:07 AMnetworkConfiguration
was tricky to do on the command line so we did it via env var). Happy to provide more details if it’s helpful.Luke Orland
02/24/2020, 3:13 PM