Skip to content

Latest commit

 

History

History
76 lines (57 loc) · 2.4 KB

source_redshift.md

File metadata and controls

76 lines (57 loc) · 2.4 KB
page_title subcategory description
airbyte_source_redshift Resource - terraform-provider-airbyte
SourceRedshift Resource

airbyte_source_redshift (Resource)

SourceRedshift Resource

Example Usage

resource "airbyte_source_redshift" "my_source_redshift" {
  configuration = {
    database        = "master"
    host            = "...my_host..."
    jdbc_url_params = "...my_jdbc_url_params..."
    password        = "...my_password..."
    port            = 5439
    schemas = [
    ]
    username = "...my_username..."
  }
  definition_id = "e25148e3-3c6f-4e5f-88e2-c90d1e9f9593"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "84353b00-31b2-4302-bdea-2a56e10ac383"
}

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)
  • source_id (String)
  • source_type (String)

Nested Schema for configuration

Required:

  • database (String) Name of the database.
  • host (String) Host Endpoint of the Redshift Cluster (must include the cluster-id, region and end with .redshift.amazonaws.com).
  • password (String, Sensitive) Password associated with the username.
  • username (String) Username to use to access the database.

Optional:

  • jdbc_url_params (String) Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3).
  • port (Number) Port of the database. Default: 5439
  • schemas (List of String) The list of schemas to sync from. Specify one or more explicitly or keep empty to process all schemas. Schema names are case sensitive.

Import

Import is supported using the following syntax:

terraform import airbyte_source_redshift.my_airbyte_source_redshift ""