Skip to content

Latest commit

 

History

History
112 lines (79 loc) · 4.22 KB

source_twitter.md

File metadata and controls

112 lines (79 loc) · 4.22 KB
page_title subcategory description
airbyte_source_twitter Resource - terraform-provider-airbyte
SourceTwitter Resource

airbyte_source_twitter (Resource)

SourceTwitter Resource

Example Usage

resource "airbyte_source_twitter" "my_source_twitter" {
  configuration = {
    api_key    = "...my_api_key..."
    end_date   = "2022-05-19T10:38:49.102Z"
    query      = "...my_query..."
    start_date = "2021-11-30T06:32:05.076Z"
  }
  definition_id = "403050ea-593a-4c26-b683-f00421b6bddb"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "01babc36-0067-4c21-b3d6-3d2c2351d667"
}

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)
  • resource_allocation (Attributes) actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level. (see below for nested schema)
  • source_id (String)
  • source_type (String)

Nested Schema for configuration

Required:

  • api_key (String, Sensitive) App only Bearer Token. See the docs for more information on how to obtain this token.
  • query (String) Query for matching Tweets. You can learn how to build this query by reading build a query guide .

Optional:

  • end_date (String) The end date for retrieving tweets must be a minimum of 10 seconds prior to the request time.
  • start_date (String) The start date for retrieving tweets cannot be more than 7 days in the past.

Nested Schema for resource_allocation

Read-Only:

Nested Schema for resource_allocation.default

Read-Only:

  • cpu_limit (String)
  • cpu_request (String)
  • ephemeral_storage_limit (String)
  • ephemeral_storage_request (String)
  • memory_limit (String)
  • memory_request (String)

Nested Schema for resource_allocation.job_specific

Read-Only:

  • job_type (String) enum that describes the different types of jobs that the platform runs. must be one of ["get_spec", "check_connection", "discover_schema", "sync", "reset_connection", "connection_updater", "replicate"]
  • resource_requirements (Attributes) optional resource requirements to run workers (blank for unbounded allocations) (see below for nested schema)

Nested Schema for resource_allocation.job_specific.resource_requirements

Read-Only:

  • cpu_limit (String)
  • cpu_request (String)
  • ephemeral_storage_limit (String)
  • ephemeral_storage_request (String)
  • memory_limit (String)
  • memory_request (String)

Import

Import is supported using the following syntax:

terraform import airbyte_source_twitter.my_airbyte_source_twitter ""