Skip to content

Latest commit

 

History

History
136 lines (93 loc) · 5.66 KB

source_notion.md

File metadata and controls

136 lines (93 loc) · 5.66 KB
page_title subcategory description
airbyte_source_notion Resource - terraform-provider-airbyte
SourceNotion Resource

airbyte_source_notion (Resource)

SourceNotion Resource

Example Usage

resource "airbyte_source_notion" "my_source_notion" {
  configuration = {
    credentials = {
      access_token = {
        token = "...my_token..."
      }
    }
    start_date = "2020-11-16T00:00:00.000Z"
  }
  definition_id = "ed0b2ec5-73c4-48f7-a90a-05db3648111e"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "a587cc09-e865-4a1d-86a5-7693ad0a9192"
}

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

Optional:

  • credentials (Attributes) Choose either OAuth (recommended for Airbyte Cloud) or Access Token. See our docs for more information. (see below for nested schema)
  • start_date (String) UTC date and time in the format YYYY-MM-DDTHH:MM:SS.000Z. During incremental sync, any data generated before this date will not be replicated. If left blank, the start date will be set to 2 years before the present date.

Nested Schema for configuration.credentials

Optional:

Nested Schema for configuration.credentials.access_token

Required:

  • token (String, Sensitive) The Access Token for your private Notion integration. See the docs for more information on how to obtain this token.

Nested Schema for configuration.credentials.o_auth20

Required:

  • access_token (String, Sensitive) The Access Token received by completing the OAuth flow for your Notion integration. See our docs for more information.
  • client_id (String, Sensitive) The Client ID of your Notion integration. See our docs for more information.
  • client_secret (String, Sensitive) The Client Secret of your Notion integration. See our docs for more information.

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_notion.my_airbyte_source_notion ""