Skip to content

Latest commit

 

History

History
127 lines (91 loc) · 5.27 KB

File metadata and controls

127 lines (91 loc) · 5.27 KB
page_title subcategory description
airbyte_source_chargebee Resource - terraform-provider-airbyte
SourceChargebee Resource

airbyte_source_chargebee (Resource)

SourceChargebee Resource

Example Usage

resource "airbyte_source_chargebee" "my_source_chargebee" {
  configuration = {
    additional_properties = "{ \"see\": \"documentation\" }"
    num_workers           = 1
    product_catalog       = "1.0"
    site                  = "airbyte-test"
    site_api_key          = "...my_site_api_key..."
    start_date            = "2021-01-25T00:00:00Z"
  }
  definition_id = "7e4892fa-00dc-4d82-9782-addab8c4f2fe"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "0b341506-9eb2-4891-a794-54f7de03f91f"
}

Schema

Required

  • configuration (Attributes) The values required to configure the source. The schema for this must match the schema return by source_definition_specifications/get for the source. (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. Default: "686473f1-76d9-4994-9cc7-9b13da46147c"; 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)
  • 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)
  • source_id (String)
  • source_type (String)

Nested Schema for configuration

Required:

  • site (String) The site prefix for your Chargebee instance.
  • site_api_key (String, Sensitive) Chargebee API Key. See the docs for more information on how to obtain this key.
  • start_date (String) UTC date and time in the format 2017-01-25T00:00:00.000Z. Any data before this date will not be replicated.

Optional:

  • additional_properties (String) Parsed as JSON.
  • num_workers (Number) The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Chargebee plan. More info about the rate limit plan tiers can be found on Chargebee's API docs. Default: 3
  • product_catalog (String) Product Catalog version of your Chargebee site. Instructions on how to find your version you may find here under API Version section. If left blank, the product catalog version will be set to 2.0. Default: "2.0"; must be one of ["1.0", "2.0"]

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.
  • 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:

In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:

import {
  to = airbyte_source_chargebee.my_airbyte_source_chargebee
  id = "..."
}

The terraform import command can be used, for example:

terraform import airbyte_source_chargebee.my_airbyte_source_chargebee "..."