I have this deployment:
prefect deployment build jobs/test1/test1.py:test1 \
--name test2 \
--output jobs/test1/deployment \
--storage-block github/yuvital-prefect-github \
--work-queue main \
--infra-block ecs-task/staging3
Which uses the block ecs-task/staging3:
I am looking for a way to define different deployments that use the same ecs-task/staging3 block, but “pass” to it different parameters. Something like this:
prefect deployment build jobs/test1/test1.py:test1 \
--name test2 \
--output jobs/test1/deployment \
--storage-block github/yuvital-prefect-github \
--work-queue main \
--infra-block ecs-task/staging3
--CPU 4048 \
--Memory 5000 \
--env-var someKey someValye \
Also, a “lower level” approach which allows me to pass a custom Task Definition would be a nice direction:
prefect deployment build jobs/test1/test1.py:test1 \
--name test2 \
--output jobs/test1/deployment \
--storage-block github/yuvital-prefect-github \
--work-queue main \
--infra-block ecs-task/staging3
--custom-task-defintion "{ 'tags':[ ...]}"
I am also attaching this Slack message as it might be related to the problem:
Thank you for any help on the issue