Skip to content

Latest commit

 

History

History
195 lines (130 loc) · 7.58 KB

destination_elasticsearch.md

File metadata and controls

195 lines (130 loc) · 7.58 KB
page_title subcategory description
airbyte_destination_elasticsearch Resource - terraform-provider-airbyte
DestinationElasticsearch Resource

airbyte_destination_elasticsearch (Resource)

DestinationElasticsearch Resource

Example Usage

resource "airbyte_destination_elasticsearch" "my_destination_elasticsearch" {
  configuration = {
    authentication_method = {
      username_password = {
        password = "...my_password..."
        username = "...my_username..."
      }
    }
    ca_certificate = "...my_ca_certificate..."
    endpoint       = "...my_endpoint..."
    tunnel_method = {
      no_tunnel = {
        # ...
      }
    }
    upsert = false
  }
  definition_id = "fa3d17d3-6d2d-4bd3-a934-fcd7370e225f"
  name          = "...my_name..."
  workspace_id  = "9de55ce7-1e79-4018-9818-c9bf634debae"
}

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:

  • endpoint (String) The full url of the Elasticsearch server

Optional:

  • authentication_method (Attributes) The type of authentication to be used (see below for nested schema)
  • ca_certificate (String, Sensitive) CA certificate
  • tunnel_method (Attributes) Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. (see below for nested schema)
  • upsert (Boolean) If a primary key identifier is defined in the source, an upsert will be performed using the primary key value as the elasticsearch doc id. Does not support composite primary keys. Default: true

Nested Schema for configuration.authentication_method

Optional:

Nested Schema for configuration.authentication_method.api_key_secret

Required:

  • api_key_id (String) The Key ID to used when accessing an enterprise Elasticsearch instance.
  • api_key_secret (String, Sensitive) The secret associated with the API Key ID.

Nested Schema for configuration.authentication_method.none

Nested Schema for configuration.authentication_method.username_password

Required:

  • password (String, Sensitive) Basic auth password to access a secure Elasticsearch server
  • username (String) Basic auth username to access a secure Elasticsearch server

Nested Schema for configuration.tunnel_method

Optional:

Nested Schema for configuration.tunnel_method.no_tunnel

Nested Schema for configuration.tunnel_method.password_authentication

Required:

  • tunnel_host (String) Hostname of the jump server host that allows inbound ssh tunnel.
  • tunnel_user (String) OS-level username for logging into the jump server host
  • tunnel_user_password (String, Sensitive) OS-level password for logging into the jump server host

Optional:

  • tunnel_port (Number) Port on the proxy/jump server that accepts inbound ssh connections. Default: 22

Nested Schema for configuration.tunnel_method.ssh_key_authentication

Required:

  • ssh_key (String, Sensitive) OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa )
  • tunnel_host (String) Hostname of the jump server host that allows inbound ssh tunnel.
  • tunnel_user (String) OS-level username for logging into the jump server host.

Optional:

  • tunnel_port (Number) Port on the proxy/jump server that accepts inbound ssh connections. Default: 22

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_elasticsearch.my_airbyte_destination_elasticsearch ""