Skip to content

Latest commit

 

History

History
73 lines (54 loc) · 1.84 KB

source_codefresh.md

File metadata and controls

73 lines (54 loc) · 1.84 KB
page_title subcategory description
airbyte_source_codefresh Resource - terraform-provider-airbyte
SourceCodefresh Resource

airbyte_source_codefresh (Resource)

SourceCodefresh Resource

Example Usage

resource "airbyte_source_codefresh" "my_source_codefresh" {
  configuration = {
    account_id = "...my_account_id..."
    api_key    = "...my_api_key..."
    report_date_range = [
      "{ \"see\": \"documentation\" }"
    ]
    report_granularity = "...my_report_granularity..."
    start_date         = "2022-11-24T01:03:59.526Z"
  }
  definition_id = "9f0c759d-7eba-49bd-a7ff-371e31b7bc2f"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "b4d0bea3-8b8f-464f-a11c-f1ae964a7c8d"
}

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:

  • account_id (String, Sensitive)
  • api_key (String, Sensitive)
  • start_date (String)

Optional:

  • report_date_range (List of String)
  • report_granularity (String)

Import

Import is supported using the following syntax:

terraform import airbyte_source_codefresh.my_airbyte_source_codefresh ""