Skip to content

Latest commit

 

History

History
79 lines (60 loc) · 2.54 KB

source_polygon_stock_api.md

File metadata and controls

79 lines (60 loc) · 2.54 KB
page_title subcategory description
airbyte_source_polygon_stock_api Resource - terraform-provider-airbyte
SourcePolygonStockAPI Resource

airbyte_source_polygon_stock_api (Resource)

SourcePolygonStockAPI Resource

Example Usage

resource "airbyte_source_polygon_stock_api" "my_source_polygonstockapi" {
  configuration = {
    adjusted      = "true"
    api_key       = "...my_api_key..."
    end_date      = "2020-10-14"
    limit         = 100
    multiplier    = 1
    sort          = "asc"
    start_date    = "2020-10-14"
    stocks_ticker = "IBM"
    timespan      = "day"
  }
  definition_id = "4b695283-4e49-4369-9fc3-8a9878680f1b"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "107f0754-ac3a-433a-939c-817661495e42"
}

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 ACCESS Key
  • end_date (String) The target date for the aggregate window.
  • multiplier (Number) The size of the timespan multiplier.
  • start_date (String) The beginning date for the aggregate window.
  • stocks_ticker (String) The exchange symbol that this item is traded under.
  • timespan (String) The size of the time window.

Optional:

  • adjusted (String) Determines whether or not the results are adjusted for splits. By default, results are adjusted and set to true. Set this to false to get results that are NOT adjusted for splits.
  • limit (Number) The target date for the aggregate window.
  • sort (String) Sort the results by timestamp. asc will return results in ascending order (oldest at the top), desc will return results in descending order (newest at the top).

Import

Import is supported using the following syntax:

terraform import airbyte_source_polygon_stock_api.my_airbyte_source_polygon_stock_api ""