PrefectHQ / terraform-provider-prefect

Terraform Provider for Prefect Cloud

Home Page:https://registry.terraform.io/providers/PrefectHQ/prefect/latest/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`prefect_account_membership` resource

parkedwards opened this issue · comments

Note:

  • we do not expose a create endpoint for account_memberships -- these are handled upon creation of the actors themselves (bots / users)
  • However, we could still create a Terraform resource, but this would require that practitioners always import the resource via terraform import prefect_account_membership
  • Another way to handle this could be that upon Create of the resource, we query for account_memberships based on the email attribute, and then hit the PATCH endpoint with the fetched membership ID. Update wouldn't be a problem, as we could just use the membership ID in state

This issue will be deprioritized for the initial provider launch