-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
External Metadata Ingestion isn't supported yet by the dbtcloud_account_features resource.
Describe the solution you'd like
Not sure if this should all be in a single issue, but as I can find there are at least 3 configurations required:
- Add the flag to the list of supported features. In the UI, this is triggered by the same API call as the others (POST to
https://{dbtcloud_host}/api/private/accounts/{account_id}/features/) with the payload{feature: "catalog-ingestion", value: true} - Add a database credentials resource to query the database metadata. In the UI, this is set in the Connection, specifically via a PATCH to
https://{dbtcloud_host}/api/v3/accounts/{account_id}/platform-metadata-credentials/ - Add a
catalog-configsresource that applies filters to the connection the credentials have been applied to. This is also a PATCH, but tohttps://{dbtcloud_host}/api/v3/accounts/{account_id}/connections/{connection with metadata credentials}/catalog-configs/with an allow/deny list payload:
{
"database_allow": [],
"database_deny": [],
"schema_allow": [],
"schema_deny": [],
"table_allow": [],
"table_deny": [],
"view_allow": [],
"view_deny": []
}
Describe alternatives you've considered
Manually setting it in the UI; potentially querying the API separately but would prefer terraform
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request