Skip to content

Latest commit

 

History

History
69 lines (50 loc) · 2.15 KB

source_coinmarketcap.md

File metadata and controls

69 lines (50 loc) · 2.15 KB
page_title subcategory description
airbyte_source_coinmarketcap Resource - terraform-provider-airbyte
SourceCoinmarketcap Resource

airbyte_source_coinmarketcap (Resource)

SourceCoinmarketcap Resource

Example Usage

resource "airbyte_source_coinmarketcap" "my_source_coinmarketcap" {
  configuration = {
    api_key   = "...my_api_key..."
    data_type = "latest"
    symbols = [
      "..."
    ]
  }
  definition_id = "0b4d1772-2639-41fb-9b6a-f2c6652fef02"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "739407d7-e191-4413-8d2a-cb6fba4d94ca"
}

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) Your API Key. See here. The token is case sensitive.
  • data_type (String) /latest: Latest market ticker quotes and averages for cryptocurrencies and exchanges. /historical: Intervals of historic market data like OHLCV data or data for use in charting libraries. See here. must be one of ["latest", "historical"]

Optional:

  • symbols (List of String) Cryptocurrency symbols. (only used for quotes stream)

Import

Import is supported using the following syntax:

terraform import airbyte_source_coinmarketcap.my_airbyte_source_coinmarketcap ""