Skip to content

Latest commit

 

History

History
146 lines (101 loc) · 6.26 KB

destination_azure_blob_storage.md

File metadata and controls

146 lines (101 loc) · 6.26 KB
page_title subcategory description
airbyte_destination_azure_blob_storage Resource - terraform-provider-airbyte
DestinationAzureBlobStorage Resource

airbyte_destination_azure_blob_storage (Resource)

DestinationAzureBlobStorage Resource

Example Usage

resource "airbyte_destination_azure_blob_storage" "my_destination_azureblobstorage" {
  configuration = {
    azure_blob_storage_account_key          = "Z8ZkZpteggFx394vm+PJHnGTvdRncaYS+JhLKdj789YNmD+iyGTnG+PV+POiuYNhBg/ACS+LKjd%4FG3FHGN12Nd=="
    azure_blob_storage_account_name         = "airbyte5storage"
    azure_blob_storage_container_name       = "airbytetescontainername"
    azure_blob_storage_endpoint_domain_name = "blob.core.windows.net"
    azure_blob_storage_output_buffer_size   = 5
    azure_blob_storage_spill_size           = 500
    format = {
      json_lines_newline_delimited_json = {
        file_extension = false
      }
    }
  }
  definition_id = "0b662a17-77d2-477f-ba0e-7117eb18de2e"
  name          = "...my_name..."
  workspace_id  = "617341df-1fde-4735-ba68-f98eeb6e6bd6"
}

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:

  • azure_blob_storage_account_key (String, Sensitive) The Azure blob storage account key.
  • azure_blob_storage_account_name (String) The account's name of the Azure Blob Storage.
  • format (Attributes) Output data format (see below for nested schema)

Optional:

  • azure_blob_storage_container_name (String) The name of the Azure blob storage container. If not exists - will be created automatically. May be empty, then will be created automatically airbytecontainer+timestamp
  • azure_blob_storage_endpoint_domain_name (String) This is Azure Blob Storage endpoint domain name. Leave default value (or leave it empty if run container from command line) to use Microsoft native from example. Default: "blob.core.windows.net"
  • azure_blob_storage_output_buffer_size (Number) The amount of megabytes to buffer for the output stream to Azure. This will impact memory footprint on workers, but may need adjustment for performance and appropriate block size in Azure. Default: 5
  • azure_blob_storage_spill_size (Number) The amount of megabytes after which the connector should spill the records in a new blob object. Make sure to configure size greater than individual records. Enter 0 if not applicable. Default: 500

Nested Schema for configuration.format

Optional:

Nested Schema for configuration.format.csv_comma_separated_values

Optional:

  • file_extension (Boolean) Add file extensions to the output file. Default: false
  • flattening (String) Whether the input json data should be normalized (flattened) in the output CSV. Please refer to docs for details. Default: "No flattening"; must be one of ["No flattening", "Root level flattening"]

Nested Schema for configuration.format.json_lines_newline_delimited_json

Optional:

  • file_extension (Boolean) Add file extensions to the output file. Default: false

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_azure_blob_storage.my_airbyte_destination_azure_blob_storage ""