Skip to content

Latest commit

 

History

History
105 lines (78 loc) · 3.31 KB

destination_firebolt.md

File metadata and controls

105 lines (78 loc) · 3.31 KB
page_title subcategory description
airbyte_destination_firebolt Resource - terraform-provider-airbyte
DestinationFirebolt Resource

airbyte_destination_firebolt (Resource)

DestinationFirebolt Resource

Example Usage

resource "airbyte_destination_firebolt" "my_destination_firebolt" {
  configuration = {
    account       = "...my_account..."
    client_id     = "bbl9qth066hmxkwyb0hy2iwk8ktez9dz"
    client_secret = "...my_client_secret..."
    database      = "...my_database..."
    engine        = "...my_engine..."
    host          = "api.app.firebolt.io"
    loading_method = {
      external_table_via_s3 = {
        aws_key_id     = "...my_aws_key_id..."
        aws_key_secret = "...my_aws_key_secret..."
        s3_bucket      = "...my_s3_bucket..."
        s3_region      = "us-east-1"
      }
      sql_inserts = {
        # ...
      }
    }
  }
  definition_id = "cb044c1f-5609-4f2c-a0f3-7f7fd2ae8ba8"
  name          = "...my_name..."
  workspace_id  = "3a7065bd-8875-464a-a7d2-4af683bf7d5f"
}

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)

Nested Schema for configuration

Required:

  • account (String) Firebolt account to login.
  • client_id (String) Firebolt service account ID.
  • client_secret (String, Sensitive) Firebolt secret, corresponding to the service account ID.
  • database (String) The database to connect to.
  • engine (String) Engine name to connect to.

Optional:

  • host (String) The host name of your Firebolt database.
  • loading_method (Attributes) Loading method used to select the way data will be uploaded to Firebolt (see below for nested schema)

Nested Schema for configuration.loading_method

Optional:

Nested Schema for configuration.loading_method.external_table_via_s3

Required:

  • aws_key_id (String, Sensitive) AWS access key granting read and write access to S3.
  • aws_key_secret (String, Sensitive) Corresponding secret part of the AWS Key
  • s3_bucket (String) The name of the S3 bucket.
  • s3_region (String) Region name of the S3 bucket.

Nested Schema for configuration.loading_method.sql_inserts

Import

Import is supported using the following syntax:

terraform import airbyte_destination_firebolt.my_airbyte_destination_firebolt ""