Skip to content

Latest commit

 

History

History
124 lines (91 loc) · 5.56 KB

source_amazon_ads.md

File metadata and controls

124 lines (91 loc) · 5.56 KB
page_title subcategory description
airbyte_source_amazon_ads Resource - terraform-provider-airbyte
SourceAmazonAds Resource

airbyte_source_amazon_ads (Resource)

SourceAmazonAds Resource

Example Usage

resource "airbyte_source_amazon_ads" "my_source_amazonads" {
  configuration = {
    client_id        = "...my_client_id..."
    client_secret    = "...my_client_secret..."
    look_back_window = 3
    marketplace_ids = [
      "..."
    ]
    profiles = [
      1
    ]
    refresh_token = "...my_refresh_token..."
    region        = "FE"
    start_date    = "2022-10-10"
  }
  definition_id = "af6454d1-eef9-48c7-951f-d90f8c67b58a"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "a6beec71-8c3b-4cf7-87f9-463dd8bf8f4e"
}

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:

  • client_id (String, Sensitive) The client ID of your Amazon Ads developer application. See the docs for more information.
  • client_secret (String, Sensitive) The client secret of your Amazon Ads developer application. See the docs for more information.
  • refresh_token (String, Sensitive) Amazon Ads refresh token. See the docs for more information on how to obtain this token.

Optional:

  • look_back_window (Number) The amount of days to go back in time to get the updated data from Amazon Ads. Default: 3
  • marketplace_ids (List of String) Marketplace IDs you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.
  • profiles (List of Number) Profile IDs you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See docs for more details. Note: If Marketplace IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.
  • region (String) Region to pull data from (EU/NA/FE). See docs for more details. Default: "NA"; must be one of ["NA", "EU", "FE"]
  • start_date (String) The Start date for collecting reports, should not be more than 60 days in the past. In YYYY-MM-DD format

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_amazon_ads.my_airbyte_source_amazon_ads ""