Skip to content

Latest commit

 

History

History
127 lines (91 loc) · 4.8 KB

File metadata and controls

127 lines (91 loc) · 4.8 KB
page_title subcategory description
airbyte_source_freshcaller Resource - terraform-provider-airbyte
SourceFreshcaller Resource

airbyte_source_freshcaller (Resource)

SourceFreshcaller Resource

Example Usage

resource "airbyte_source_freshcaller" "my_source_freshcaller" {
  configuration = {
    additional_properties = "{ \"see\": \"documentation\" }"
    api_key               = "...my_api_key..."
    domain                = "snaptravel"
    requests_per_minute   = 5
    start_date            = "2022-01-01T12:00:00Z"
    sync_lag_minutes      = 8
  }
  definition_id = "deb0531a-d46e-4420-8d0a-20391d7b6758"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "29ab7204-6411-4939-bbb7-9dd52dfdaf8e"
}

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: "8a5d48f6-03bb-4038-a942-a8d3f175cca3"; 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) Freshcaller API Key. See the docs for more information on how to obtain this key.
  • domain (String) Used to construct Base URL for the Freshcaller APIs

Optional:

  • additional_properties (String) Parsed as JSON.
  • requests_per_minute (Number) The number of requests per minute that this source allowed to use. There is a rate limit of 50 requests per minute per app per account.
  • start_date (String) UTC date and time. Any data created after this date will be replicated.
  • sync_lag_minutes (Number) Lag in minutes for each sync, i.e., at time T, data for the time range [prev_sync_time, T-30] will be fetched

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_freshcaller.my_airbyte_source_freshcaller
  id = "..."
}

The terraform import command can be used, for example:

terraform import airbyte_source_freshcaller.my_airbyte_source_freshcaller "..."