Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 1.79 KB

source_shortcut.md

File metadata and controls

67 lines (48 loc) · 1.79 KB
page_title subcategory description
airbyte_source_shortcut Resource - terraform-provider-airbyte
SourceShortcut Resource

airbyte_source_shortcut (Resource)

SourceShortcut Resource

Example Usage

resource "airbyte_source_shortcut" "my_source_shortcut" {
  configuration = {
    api_key_2  = "...my_api_key_2..."
    query      = "...my_query..."
    start_date = "2021-11-07T00:57:38.334Z"
  }
  definition_id = "06d61e51-b0d0-4e6f-9301-48b03b45bab1"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "a257dfe4-366d-461b-b1e2-8bb8f32160e7"
}

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_2 (String, Sensitive)
  • start_date (String)

Optional:

  • query (String) Query for searching as defined in https://help.shortcut.com/hc/en-us/articles/360000046646-Searching-in-Shortcut-Using-Search-Operators. Default: "title:Our first Epic"

Import

Import is supported using the following syntax:

terraform import airbyte_source_shortcut.my_airbyte_source_shortcut ""