https://prefect.io logo
Title
s

Sunjay

11/16/2022, 9:35 AM
Hi Team, I have my flows using private github storage block and ECS task infrasrtructure. I want to override the ECStask config to add ephemeralStorage for a particular flow during deployment. So how to do i achieve these custom ECS task config for flows which override the base config. Do I create a seperate block with the config or can i override it during deployment ?
1
r

Ryan Peden

11/16/2022, 1:18 PM
You can use the infra_overrides parameter (if creating a deployment with Python) or the --override flag (if creating a deployment via CLI) to override your ECSTask block's settings for a deployment, so I don't think you'll need to create a separate block.
🙌 1
s

Sunjay

11/16/2022, 1:20 PM
@Ryan Peden Thank you so much Ryan
Really appreciate the quick reponse