Ben Muller
11/02/2022, 9:22 PMKalise Richmond
11/02/2022, 9:24 PMBen Muller
11/02/2022, 9:28 PMone:many
relationship with deployments, and deployments ( maybe only in the ECSTask space ) have a one:one
relationship with infrastructure blocks.
I know this is probably not by design, but the reality is my cpu and memory requirements will change according to the deployment I am running, and it is probably easier to have one infrastructure block per deployment than to locate and identify which block suits which deployment.
So the reason I want tags on an infra block is when a deployment is no longer needed ( in my head a schedule may become redundant ) - I want the ability to look at my deployments tags and then locate the infrastructure block too so I can delete it.
Am I thinking in the right way ?Zanie
11/02/2022, 9:45 PMinfra_overrides
option on deployments.Ben Muller
11/02/2022, 9:46 PMZanie
11/02/2022, 9:46 PMBen Muller
11/02/2022, 9:46 PMZanie
11/02/2022, 9:52 PMBen Muller
11/02/2022, 9:53 PMtaskDefinition
being ran in ECS is defaulting to prefect
. This will cause some issues when multiple ECS blocks are running with different images.
How can I change this name?
Do I actually need to provide an entire container definition for this to be changed?Zanie
11/03/2022, 3:23 PMprefect
so that we can find the container to run the flow inBen Muller
11/03/2022, 5:43 PMZanie
11/03/2022, 5:44 PMInfrastructure.run
but it’s looking like it’d be nice so we’ll need to find a way to pass it throughBen Muller
11/08/2022, 7:41 AMecs-task
block.
Now that they are in prod and when any two flows share the same schedule ( eg 0 * * * *
).
I am getting hit with an error from prefect
State message: Submission failed. botocore.errorfactory.ClientException: An error occurred (ClientException) when calling the RegisterTaskDefinition operation: Too many concurrent attempts to create a new revision of the specified family.
This is a pretty big deal for our migration, how can I get around this ? really hoping there is something we can doZanie
11/09/2022, 5:32 PMBen Muller
11/09/2022, 6:28 PMZanie
11/09/2022, 6:54 PMinfrastructure.prepare_for_flow_run
Ben Muller
11/09/2022, 7:32 PM