Skip to content

Latest commit

 

History

History
122 lines (89 loc) · 4.61 KB

source_netsuite.md

File metadata and controls

122 lines (89 loc) · 4.61 KB
page_title subcategory description
airbyte_source_netsuite Resource - terraform-provider-airbyte
SourceNetsuite Resource

airbyte_source_netsuite (Resource)

SourceNetsuite Resource

Example Usage

resource "airbyte_source_netsuite" "my_source_netsuite" {
  configuration = {
    consumer_key    = "...my_consumer_key..."
    consumer_secret = "...my_consumer_secret..."
    object_types = [
      "..."
    ]
    realm          = "...my_realm..."
    start_datetime = "2017-01-25T00:00:00Z"
    token_key      = "...my_token_key..."
    token_secret   = "...my_token_secret..."
    window_in_days = 0
  }
  definition_id = "3e266fd0-2e6f-40cf-ae62-0b42b8a6f13a"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "005525bd-737b-425a-a5bf-19571fa16c7a"
}

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:

  • consumer_key (String, Sensitive) Consumer key associated with your integration
  • consumer_secret (String, Sensitive) Consumer secret associated with your integration
  • realm (String, Sensitive) Netsuite realm e.g. 2344535, as for production or 2344535_SB1, as for the sandbox
  • start_datetime (String) Starting point for your data replication, in format of "YYYY-MM-DDTHH:mm:ssZ"
  • token_key (String, Sensitive) Access token key
  • token_secret (String, Sensitive) Access token secret

Optional:

  • object_types (List of String) The API names of the Netsuite objects you want to sync. Setting this speeds up the connection setup process by limiting the number of schemas that need to be retrieved from Netsuite.
  • window_in_days (Number) The amount of days used to query the data with date chunks. Set smaller value, if you have lots of data. Default: 30

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_netsuite.my_airbyte_source_netsuite ""