Join Slack
Powered by
hello! is it possible to build/use custom infrastr...
# ask-community
m
Michał Augoff
12/06/2022, 1:38 AM
hello! is it possible to build/use custom infrastructure types (beyond what’s available in the
prefect.infrastructure
module)? I assume no since this needs to be present in the agent’s env but double checking
✅ 1
z
Zanie
12/06/2022, 3:13 AM
Yes. But right now it needs to be in a Python package that registers itself as a plugin.
Zanie
12/06/2022, 3:14 AM
Like this, for example:
https://github.com/madkinsz/prefect-kv/blob/main/setup.py#L30-L34
Zanie
12/06/2022, 3:16 AM
I’m working on making this easier in
https://github.com/PrefectHQ/prefect/pull/7179
🎉 1
m
Michał Augoff
12/06/2022, 5:20 PM
thanks Michael, I’ll give it a try and looking forward to the PR!
z
Zanie
12/06/2022, 5:27 PM
That’s been merged now, if you want to try off
main
.
🙌 2
3
Views
Open in Slack
Previous
Next