> ## Documentation Index
> Fetch the complete documentation index at: https://docs.streamkap.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Resource Reference

> Quick reference for all Streamkap Terraform Provider resources.

All resources are documented with full attribute details and examples on the [HashiCorp Registry](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs).

<Snippet file="terraform-beta-warning.mdx" />

## Sources

| Resource       | Terraform Type                   | Registry Docs                                                                                                        |
| -------------- | -------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| PostgreSQL     | `streamkap_source_postgresql`    | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_postgresql)    |
| MySQL          | `streamkap_source_mysql`         | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_mysql)         |
| MongoDB        | `streamkap_source_mongodb`       | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_mongodb)       |
| DynamoDB       | `streamkap_source_dynamodb`      | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_dynamodb)      |
| SQL Server     | `streamkap_source_sqlserver`     | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_sqlserver)     |
| Kafka Direct   | `streamkap_source_kafkadirect`   | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_kafkadirect)   |
| AlloyDB        | `streamkap_source_alloydb`       | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_alloydb)       |
| DB2            | `streamkap_source_db2`           | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_db2)           |
| DocumentDB     | `streamkap_source_documentdb`    | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_documentdb)    |
| Elasticsearch  | `streamkap_source_elasticsearch` | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_elasticsearch) |
| MariaDB        | `streamkap_source_mariadb`       | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_mariadb)       |
| MongoDB Hosted | `streamkap_source_mongodbhosted` | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_mongodbhosted) |
| Oracle         | `streamkap_source_oracle`        | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_oracle)        |
| Oracle AWS     | `streamkap_source_oracleaws`     | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_oracleaws)     |
| PlanetScale    | `streamkap_source_planetscale`   | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_planetscale)   |
| Redis          | `streamkap_source_redis`         | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_redis)         |
| S3             | `streamkap_source_s3`            | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_s3)            |
| Supabase       | `streamkap_source_supabase`      | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_supabase)      |
| Vitess         | `streamkap_source_vitess`        | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_vitess)        |
| Webhook        | `streamkap_source_webhook`       | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/source_webhook)       |

### Adding Tables to an Existing Source

To add tables to an existing CDC source via Terraform, use the `table_include_list_user_defined` attribute. This corresponds to the `table.include.list.user.defined` API parameter and lets you append tables without modifying the original `table_include_list`.

When you apply the updated configuration, Streamkap adds the specified tables to the source. If the pipeline has `snapshot_new_tables = true`, the new tables are automatically snapshotted.

```hcl theme={null}
resource "streamkap_source_postgresql" "example" {
  name              = "my-postgres-source"
  database_hostname = var.hostname
  database_port     = 5432
  database_user     = var.username
  database_password = var.password
  database_dbname   = "mydb"
  database_sslmode  = "require"

  schema_include_list = "public"
  table_include_list  = "public.orders,public.customers"

  # Add new tables to an existing source without modifying the original list
  table_include_list_user_defined = "public.products,public.inventory"

  signal_data_collection_schema_or_database = "streamkap.streamkap_signal"
  slot_name        = "streamkap_slot"
  publication_name = "streamkap_pub"
}
```

<Note>
  The same approach works for MySQL, SQL Server, Oracle, and Db2 sources -- use `table_include_list_user_defined` on the corresponding resource type. For **Kafka Direct** sources, use `topic_include_list_user_defined` instead.
</Note>

## Destinations

| Resource     | Terraform Type                      | Registry Docs                                                                                                           |
| ------------ | ----------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| Snowflake    | `streamkap_destination_snowflake`   | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_snowflake)   |
| Databricks   | `streamkap_destination_databricks`  | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_databricks)  |
| ClickHouse   | `streamkap_destination_clickhouse`  | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_clickhouse)  |
| PostgreSQL   | `streamkap_destination_postgresql`  | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_postgresql)  |
| S3           | `streamkap_destination_s3`          | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_s3)          |
| Iceberg      | `streamkap_destination_iceberg`     | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_iceberg)     |
| Kafka        | `streamkap_destination_kafka`       | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_kafka)       |
| Azure Blob   | `streamkap_destination_azblob`      | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_azblob)      |
| BigQuery     | `streamkap_destination_bigquery`    | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_bigquery)    |
| CockroachDB  | `streamkap_destination_cockroachdb` | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_cockroachdb) |
| DB2          | `streamkap_destination_db2`         | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_db2)         |
| GCS          | `streamkap_destination_gcs`         | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_gcs)         |
| HTTP Sink    | `streamkap_destination_httpsink`    | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_httpsink)    |
| Kafka Direct | `streamkap_destination_kafkadirect` | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_kafkadirect) |
| Motherduck   | `streamkap_destination_motherduck`  | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_motherduck)  |
| MySQL        | `streamkap_destination_mysql`       | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_mysql)       |
| Oracle       | `streamkap_destination_oracle`      | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_oracle)      |
| Pinecone     | `streamkap_destination_pinecone`    | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_pinecone)    |
| R2           | `streamkap_destination_r2`          | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_r2)          |
| Redis        | `streamkap_destination_redis`       | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_redis)       |
| Redshift     | `streamkap_destination_redshift`    | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_redshift)    |
| SQL Server   | `streamkap_destination_sqlserver`   | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_sqlserver)   |
| Starburst    | `streamkap_destination_starburst`   | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_starburst)   |
| Weaviate     | `streamkap_destination_weaviate`    | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/destination_weaviate)    |

## Transforms

| Resource     | Terraform Type                     | Registry Docs                                                                                                          |
| ------------ | ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| Map Filter   | `streamkap_transform_map_filter`   | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/transform_map_filter)   |
| Enrich       | `streamkap_transform_enrich`       | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/transform_enrich)       |
| Enrich Async | `streamkap_transform_enrich_async` | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/transform_enrich_async) |
| SQL Join     | `streamkap_transform_sql_join`     | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/transform_sql_join)     |
| Rollup       | `streamkap_transform_rollup`       | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/transform_rollup)       |
| Fan Out      | `streamkap_transform_fan_out`      | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/transform_fan_out)      |

## Pipelines & Topics

| Resource | Terraform Type       | Registry Docs                                                                                            |
| -------- | -------------------- | -------------------------------------------------------------------------------------------------------- |
| Pipeline | `streamkap_pipeline` | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/pipeline) |
| Topic    | `streamkap_topic`    | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/topic)    |
| Tag      | `streamkap_tag`      | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/resources/tag)      |

## Data Sources

| Data Source   | Terraform Type                 | Registry Docs                                                                                                    |
| ------------- | ------------------------------ | ---------------------------------------------------------------------------------------------------------------- |
| Tag           | `data.streamkap_tag`           | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/data-sources/tag)           |
| Transform     | `data.streamkap_transform`     | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/data-sources/transform)     |
| Topic         | `data.streamkap_topic`         | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/data-sources/topic)         |
| Topics (list) | `data.streamkap_topics`        | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/data-sources/topics)        |
| Topic Metrics | `data.streamkap_topic_metrics` | [View →](https://registry.terraform.io/providers/streamkap-com/streamkap/latest/docs/data-sources/topic_metrics) |
