Skip to content

Latest commit

 

History

History
141 lines (96 loc) · 5.03 KB

source_cart.md

File metadata and controls

141 lines (96 loc) · 5.03 KB
page_title subcategory description
airbyte_source_cart Resource - terraform-provider-airbyte
SourceCart Resource

airbyte_source_cart (Resource)

SourceCart Resource

Example Usage

resource "airbyte_source_cart" "my_source_cart" {
  configuration = {
    credentials = {
      single_store_access_token = {
        access_token = "...my_access_token..."
        store_name   = "...my_store_name..."
      }
    }
    start_date = "2021-01-01T00:00:00Z"
  }
  definition_id = "33c6453d-2a16-47f0-8374-5c4dba262a49"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "1aa2904a-5ba0-4ded-aa51-0be365206ac8"
}

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:

  • start_date (String) The date from which you'd like to replicate the data

Optional:

Nested Schema for configuration.credentials

Optional:

Nested Schema for configuration.credentials.central_api_router

Required:

  • site_id (String, Sensitive) You can determine a site provisioning site Id by hitting https://site.com/store/sitemonitor.aspx and reading the response param PSID
  • user_name (String, Sensitive) Enter your application's User Name
  • user_secret (String, Sensitive) Enter your application's User Secret

Nested Schema for configuration.credentials.single_store_access_token

Required:

  • access_token (String, Sensitive) Access Token for making authenticated requests.
  • store_name (String) The name of Cart.com Online Store. All API URLs start with https://[mystorename.com]/api/v1/, where [mystorename.com] is the domain name of your store.

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_cart.my_airbyte_source_cart ""