Skip to content

Latest commit

 

History

History
211 lines (136 loc) · 8.25 KB

destination_dev_null.md

File metadata and controls

211 lines (136 loc) · 8.25 KB
page_title subcategory description
airbyte_destination_dev_null Resource - terraform-provider-airbyte
DestinationDevNull Resource

airbyte_destination_dev_null (Resource)

DestinationDevNull Resource

Example Usage

resource "airbyte_destination_dev_null" "my_destination_devnull" {
  configuration = {
    test_destination = {
      silent = {
        additional_properties = "{ \"see\": \"documentation\" }"
        test_destination_type = "SILENT"
      }
    }
  }
  definition_id = "63267a08-3f09-4c32-aaf8-b026c7113191"
  name          = "...my_name..."
  workspace_id  = "cc83846a-3f2a-410d-b012-72b8713131bd"
}

Schema

Required

  • configuration (Attributes) (see below for nested schema)
  • name (String) Name of the destination e.g. dev-mysql-instance.
  • workspace_id (String)

Optional

  • definition_id (String) The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. Requires replacement if changed.

Read-Only

  • created_at (Number)
  • destination_id (String)
  • destination_type (String)
  • 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)

Nested Schema for configuration

Required:

Nested Schema for configuration.test_destination

Optional:

Nested Schema for configuration.test_destination.failing

Required:

  • num_messages (Number) Number of messages after which to fail.

Optional:

  • additional_properties (String) Parsed as JSON.
  • test_destination_type (String) Default: "FAILING"; must be "FAILING"

Nested Schema for configuration.test_destination.logging

Required:

Optional:

  • additional_properties (String) Parsed as JSON.
  • test_destination_type (String) Default: "LOGGING"; must be "LOGGING"

Nested Schema for configuration.test_destination.logging.logging_config

Optional:

  • every_n_th_entry (Attributes) For each stream, log every N-th entry with a maximum cap. (see below for nested schema)
  • first_n_entries (Attributes) Log first N entries per stream. (see below for nested schema)
  • random_sampling (Attributes) For each stream, randomly log a percentage of the entries with a maximum cap. (see below for nested schema)

Nested Schema for configuration.test_destination.logging.logging_config.every_n_th_entry

Required:

  • nth_entry_to_log (Number) The N-th entry to log for each stream. N starts from 1. For example, when N = 1, every entry is logged; when N = 2, every other entry is logged; when N = 3, one out of three entries is logged.

Optional:

  • additional_properties (String) Parsed as JSON.
  • logging_type (String) Default: "EveryNth"; must be "EveryNth"
  • max_entry_count (Number) Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. Default: 100

Nested Schema for configuration.test_destination.logging.logging_config.first_n_entries

Optional:

  • additional_properties (String) Parsed as JSON.
  • logging_type (String) Default: "FirstN"; must be "FirstN"
  • max_entry_count (Number) Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. Default: 100

Nested Schema for configuration.test_destination.logging.logging_config.random_sampling

Optional:

  • additional_properties (String) Parsed as JSON.
  • logging_type (String) Default: "RandomSampling"; must be "RandomSampling"
  • max_entry_count (Number) Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. Default: 100
  • sampling_ratio (Number) A positive floating number smaller than 1. Default: 0.001
  • seed (Number) When the seed is unspecified, the current time millis will be used as the seed.

Nested Schema for configuration.test_destination.silent

Optional:

  • additional_properties (String) Parsed as JSON.
  • test_destination_type (String) Default: "SILENT"; must be "SILENT"

Nested Schema for configuration.test_destination.throttled

Required:

  • millis_per_record (Number) The number of milliseconds to wait between each record.

Optional:

  • additional_properties (String) Parsed as JSON.
  • test_destination_type (String) Default: "THROTTLED"; must be "THROTTLED"

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_destination_dev_null.my_airbyte_destination_dev_null ""