Skip to content

Latest commit

 

History

History
116 lines (83 loc) · 5.02 KB

source_amplitude.md

File metadata and controls

116 lines (83 loc) · 5.02 KB
page_title subcategory description
airbyte_source_amplitude Resource - terraform-provider-airbyte
SourceAmplitude Resource

airbyte_source_amplitude (Resource)

SourceAmplitude Resource

Example Usage

resource "airbyte_source_amplitude" "my_source_amplitude" {
  configuration = {
    active_users_group_by_country = true
    api_key                       = "...my_api_key..."
    data_region                   = "Standard Server"
    request_time_range            = 8259
    secret_key                    = "...my_secret_key..."
    start_date                    = "2021-01-25T00:00:00Z"
  }
  definition_id = "b1aed4fb-ea82-4954-b53a-577cd7c2a238"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "a45cdcfa-7473-46e2-9daa-761557fbd83d"
}

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:

  • api_key (String, Sensitive) Amplitude API Key. See the setup guide for more information on how to obtain this key.
  • secret_key (String, Sensitive) Amplitude Secret Key. See the setup guide for more information on how to obtain this key.
  • start_date (String) UTC date and time in the format 2021-01-25T00:00:00Z. Any data before this date will not be replicated.

Optional:

  • active_users_group_by_country (Boolean) According to Amplitude documentation, grouping by Country is optional. If you face issues fetching the stream or checking the connection please set this field to False. Default: true
  • data_region (String) Amplitude data region server. Default: "Standard Server"; must be one of ["Standard Server", "EU Residency Server"]
  • request_time_range (Number) According to Considerations too large of a time range in te request can cause a timeout error. In this case, please provide a shorter time interval in hours. Default: 24

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_amplitude.my_airbyte_source_amplitude ""