Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 1.87 KB

destination_duckdb.md

File metadata and controls

65 lines (46 loc) · 1.87 KB
page_title subcategory description
airbyte_destination_duckdb Resource - terraform-provider-airbyte
DestinationDuckdb Resource

airbyte_destination_duckdb (Resource)

DestinationDuckdb Resource

Example Usage

resource "airbyte_destination_duckdb" "my_destination_duckdb" {
  configuration = {
    destination_path   = "/local/destination.duckdb"
    motherduck_api_key = "...my_motherduck_api_key..."
    schema             = "main"
  }
  definition_id = "955e96a5-34d1-40de-93d5-ac72942da8bd"
  name          = "...my_name..."
  workspace_id  = "878710f8-90aa-4e37-8e01-c0cce0824fd2"
}

Schema

Required

  • configuration (Attributes) (see below for nested schema)
  • name (String) Name of the destination e.g. dev-mysql-instance.
  • workspace_id (String)

Optional

  • definition_id (String) The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. Requires replacement if changed.

Read-Only

  • created_at (Number)
  • destination_id (String)
  • destination_type (String)

Nested Schema for configuration

Required:

  • destination_path (String) Path to the .duckdb file, or the text 'md:' to connect to MotherDuck. The file will be placed inside that local mount. For more information check out our docs

Optional:

  • motherduck_api_key (String, Sensitive) API key to use for authentication to a MotherDuck database.
  • schema (String) Database schema name, default for duckdb is 'main'.

Import

Import is supported using the following syntax:

terraform import airbyte_destination_duckdb.my_airbyte_destination_duckdb ""