This PR adds a new datasource for prefect_account_role. Currently, there are no plans to allow practitioners to create custom Account Roles (there is no create endpoint), and we do not allow modifying the default system roles. As such, we will just support reading down either the Admin or Member account roles by name - practitioners can then use the fetched data.prefect_account_role.foobar.id in order to set account membership in a followup resource
resolves https://github.com/PrefectHQ/terraform-provider-prefect/issues/39 resolves https://github.com/PrefectHQ/terraform-provider-prefect/issues/76
This PR adds a new datasource for
prefect_account_role
. Currently, there are no plans to allow practitioners to create custom Account Roles (there is no create endpoint), and we do not allow modifying the default system roles. As such, we will just support reading down either theAdmin
orMember
account roles by name - practitioners can then use the fetcheddata.prefect_account_role.foobar.id
in order to set account membership in a followup resource