Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 1.51 KB

source_dbt.md

File metadata and controls

62 lines (45 loc) · 1.51 KB
page_title subcategory description
airbyte_source_dbt Resource - terraform-provider-airbyte
SourceDbt Resource

airbyte_source_dbt (Resource)

SourceDbt Resource

Example Usage

resource "airbyte_source_dbt" "my_source_dbt" {
  configuration = {
    account_id = "...my_account_id..."
    api_key_2  = "...my_api_key_2..."
  }
  definition_id = "8cb19d39-de09-4d50-8668-ce3741b5cd7e"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "4d28cc1c-d8bf-44f5-a0f6-d6f45a406b08"
}

Schema

Required

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

Optional

  • definition_id (String) The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
  • secret_id (String) Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.

Read-Only

  • created_at (Number)
  • source_id (String)
  • source_type (String)

Nested Schema for configuration

Required:

  • account_id (String)
  • api_key_2 (String, Sensitive)

Import

Import is supported using the following syntax:

terraform import airbyte_source_dbt.my_airbyte_source_dbt ""