Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 2.1 KB

source_recharge.md

File metadata and controls

67 lines (48 loc) · 2.1 KB
page_title subcategory description
airbyte_source_recharge Resource - terraform-provider-airbyte
SourceRecharge Resource

airbyte_source_recharge (Resource)

SourceRecharge Resource

Example Usage

resource "airbyte_source_recharge" "my_source_recharge" {
  configuration = {
    access_token              = "...my_access_token..."
    start_date                = "2021-05-14T00:00:00Z"
    use_orders_deprecated_api = false
  }
  definition_id = "65c9c52e-82c6-4949-b562-e7636f196391"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "bcd1634a-8c70-4b63-a447-c6aa3630dfac"
}

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:

  • access_token (String, Sensitive) The value of the Access Token generated. See the docs for more information.
  • start_date (String) The date from which you'd like to replicate data for Recharge API, in the format YYYY-MM-DDT00:00:00Z. Any data before this date will not be replicated.

Optional:

  • use_orders_deprecated_api (Boolean) Define whether or not the Orders stream should use the deprecated 2021-01 API version, or use 2021-11, otherwise. Default: true

Import

Import is supported using the following syntax:

terraform import airbyte_source_recharge.my_airbyte_source_recharge ""