Skip to content

Support custom Block Types #420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rh-km opened this issue Mar 14, 2025 · 2 comments
Open

Support custom Block Types #420

rh-km opened this issue Mar 14, 2025 · 2 comments

Comments

@rh-km
Copy link

rh-km commented Mar 14, 2025

The prefect API and CLI support registering of custom block types:
https://docs.prefect.io/v3/develop/blocks#create-a-new-block-type
https://app.prefect.cloud/api/docs#tag/Block-schemas/operation/create_block_schema_api_accounts__account_id__workspaces__workspace_id__block_schemas__post

It would be great if this could be exposed through the provider, so we could create and reference custom block types along with our other prefect resources in terraform.

@mitchnielsen
Copy link
Contributor

This might be doable - we're picturing a resource called prefect_block_schema with the relevant fields, and then being able to use the output from that resource in the prefect_block definition.

I don't have a timeline available right now, but we'll aim to get to this fairly soon. Also welcoming pull requests 👍🏼

@serinamarie
Copy link

Sounds good, thank you @mitchnielsen !

@mitchnielsen mitchnielsen changed the title Feature Request: Support Custom Block Types Support custom Block Types Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants