Does this feature `Add the ability to publish Infr...
# ask-community
m
Does this feature
Add the ability to publish Infrastructure blocks as work pools β€” #11180
let me turn an
ECSTask
directly into a Work Pool? So like could I do
Copy code
ecs_task_block = ECSTask(**full_ecs_args)
ecs_task_block.publish_as_work_pool("ecs_task_block")
?
βœ… 1
e
Hey @Matt Alhonte πŸ‘‹ yep, I believe that’s the intent. We want to make using workers as east as possible.
πŸš€ 1
m
Sweet!
Will give that a try asap!
❀️ 2
e
Let us know how it goes. Feedback is always appreciated.
πŸ‘ 1
upvote 1
n
m
tried
publish_as_work_pool
and it didn't work, made an Issue for it https://github.com/PrefectHQ/prefect-aws/issues/362