PrefectHQ / terraform-provider-prefect

Terraform Provider for Prefect Cloud
https://registry.terraform.io/providers/PrefectHQ/prefect/latest/docs
Apache License 2.0
33 stars 16 forks source link

Blocks Support: Add BlockType HTTP client + struct model #171

Closed parkedwards closed 4 months ago

parkedwards commented 4 months ago

https://www.notion.so/prefect/Design-Block-support-in-the-Terraform-Provider-ae2ea25a18864de9b51b8aa06af9486b?pvs=4

In order to create a Block, we need a block_type.id and a block_schema.id. So we'll want an HTTP client for block_type, so we can fetch one

Things we'll probably need:

https://app.prefect.cloud/api/docs#tag/Block-types/operation/read_block_type_by_slug_api_accounts__account_id__workspaces__workspace_id__block_types_slug__slug__get