Database Destinations
A Database Destination lets an Automation append rows to an existing table. Each destination references a credential in the Secret Store.
Resource Schema
Required
| Property | Description |
|---|---|
| name String | Name of the destination. |
| provider_ String | Database provider. Possible values: snowflake, bigquery, supabase, postgresql, mysql |
| config Object | Provider settings for the destination. Use the schema matching provider. The connection address and table are fixed after creation. |
| secret_id Int64 | ID of a Secret in the same Workspace. Use a Token Secret for Snowflake, a service account Key/Value Secret for BigQuery, or a Username/Password Secret for a database login. |
Optional
| Property | Description |
|---|---|
| workspace_id Int64 | Workspace ID. 0 means the default workspace. |
Read Only
| Property | Description |
|---|---|
| id Int64 | Database Destination ID. |
| created_at String | When the destination was created. |
| updated_at String | When the destination was last updated. |
Resource Import
This Resource supports importing using the following syntax:
Data Source Schema
Required
| Property | Description |
|---|---|
| id Int64 | Database Destination ID. |
Read Only
| Property | Description |
|---|---|
| workspace_id Int64 | Workspace ID. 0 means the default workspace. |
| name String | Name of the destination. |
| provider_ String | Database provider. Possible values: snowflake, bigquery, supabase, postgresql, mysql |
| config Object | Provider settings for the destination. Use the schema matching provider. The connection address and table are fixed after creation. |
| secret_id Int64 | ID of a Secret in the same Workspace. Use a Token Secret for Snowflake, a service account Key/Value Secret for BigQuery, or a Username/Password Secret for a database login. |
| created_at String | When the destination was created. |
| updated_at String | When the destination was last updated. |