Skip to content

Latest commit

 

History

History
71 lines (52 loc) · 2.03 KB

source_twelve_data.md

File metadata and controls

71 lines (52 loc) · 2.03 KB
page_title subcategory description
airbyte_source_twelve_data Resource - terraform-provider-airbyte
SourceTwelveData Resource

airbyte_source_twelve_data (Resource)

SourceTwelveData Resource

Example Usage

resource "airbyte_source_twelve_data" "my_source_twelvedata" {
  configuration = {
    api_key  = "...my_api_key..."
    country  = "...my_country..."
    exchange = "...my_exchange..."
    interval = "2h"
    symbol   = "...my_symbol..."
  }
  definition_id = "7a6e0d70-8ba9-42bf-a8ff-80994e3a2093"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "06acf3c9-e2dd-4948-bfaa-8b1fa4ee280d"
}

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:

  • api_key (String, Sensitive)

Optional:

  • country (String) Where instrument is traded
  • exchange (String) Where instrument is traded
  • interval (String) Between two consecutive points in time series Supports: 1min, 5min, 15min, 30min, 45min, 1h, 2h, 4h, 1day, 1week, 1month. Default: "1day"; must be one of ["1min", "5min", "15min", "30min", "45min", "1h", "2h", "4h", "1day", "1week", "1month"]
  • symbol (String) Ticker of the instrument

Import

Import is supported using the following syntax:

terraform import airbyte_source_twelve_data.my_airbyte_source_twelve_data ""