Skip to content

Latest commit

 

History

History
154 lines (106 loc) · 5.59 KB

File metadata and controls

154 lines (106 loc) · 5.59 KB
page_title subcategory description
airbyte_source_mailchimp Resource - terraform-provider-airbyte
SourceMailchimp Resource

airbyte_source_mailchimp (Resource)

SourceMailchimp Resource

Example Usage

resource "airbyte_source_mailchimp" "my_source_mailchimp" {
  configuration = {
    additional_properties = "{ \"see\": \"documentation\" }"
    credentials = {
      api_key = {
        apikey = "...my_apikey..."
      }
    }
    data_center = "...my_data_center..."
    start_date  = "2020-01-01T00:00:00.000Z"
  }
  definition_id = "9bebd7b1-c88a-4dd4-aa37-8172eb64f49e"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "c255ad32-1802-4521-bc9b-94b258ea8fe1"
}

Schema

Required

  • configuration (Attributes) The values required to configure the source. The schema for this must match the schema return by source_definition_specifications/get for the source. (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. Default: "b03a9f3e-22a5-11eb-adc1-0242ac120002"; 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:

  • additional_properties (String) Parsed as JSON.
  • credentials (Attributes) (see below for nested schema)
  • data_center (String) Technical fields used to identify datacenter to send request to
  • start_date (String) The date from which you want to start syncing data for Incremental streams. Only records that have been created or modified since this date will be synced. If left blank, all data will by synced.

Nested Schema for configuration.credentials

Optional:

Nested Schema for configuration.credentials.api_key

Required:

  • apikey (String, Sensitive) Mailchimp API Key. See the docs for information on how to generate this key.

Nested Schema for configuration.credentials.o_auth20

Required:

  • access_token (String, Sensitive) An access token generated using the above client ID and secret.

Optional:

  • client_id (String, Sensitive) The Client ID of your OAuth application.
  • client_secret (String, Sensitive) The Client Secret of your OAuth application.

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.
  • 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:

In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:

import {
  to = airbyte_source_mailchimp.my_airbyte_source_mailchimp
  id = "..."
}

The terraform import command can be used, for example:

terraform import airbyte_source_mailchimp.my_airbyte_source_mailchimp "..."