Skip to content

Latest commit

 

History

History
83 lines (64 loc) · 2.16 KB

source_cimis.md

File metadata and controls

83 lines (64 loc) · 2.16 KB
page_title subcategory description
airbyte_source_cimis Resource - terraform-provider-airbyte
SourceCimis Resource

airbyte_source_cimis (Resource)

SourceCimis Resource

Example Usage

resource "airbyte_source_cimis" "my_source_cimis" {
  configuration = {
    api_key = "...my_api_key..."
    daily_data_items = [
      "{ \"see\": \"documentation\" }"
    ]
    end_date = "2020-09-27T05:27:28.289Z"
    hourly_data_items = [
      "{ \"see\": \"documentation\" }"
    ]
    start_date = "2021-04-23T12:14:10.894Z"
    targets = [
      "{ \"see\": \"documentation\" }"
    ]
    targets_type    = "California zip codes"
    unit_of_measure = "E"
  }
  definition_id = "58ad382d-b84b-4901-9270-1ea4e0d67c63"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "7a77ac9a-00d4-4975-8d98-cec7c9a9a112"
}

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:

  • api_key (String, Sensitive)
  • end_date (String)
  • start_date (String)
  • targets (List of String)
  • targets_type (String) must be one of ["WSN station numbers", "California zip codes", "decimal-degree coordinates", "street addresses"]

Optional:

  • daily_data_items (List of String)
  • hourly_data_items (List of String)
  • unit_of_measure (String) must be one of ["E", "M"]

Import

Import is supported using the following syntax:

terraform import airbyte_source_cimis.my_airbyte_source_cimis ""