page_title | subcategory | description |
---|---|---|
airbyte_source_stripe Resource - terraform-provider-airbyte |
SourceStripe Resource |
SourceStripe Resource
resource "airbyte_source_stripe" "my_source_stripe" {
configuration = {
account_id = "...my_account_id..."
call_rate_limit = 25
client_secret = "...my_client_secret..."
lookback_window_days = 4
num_workers = 1
slice_range = 1
start_date = "2017-01-25T00:00:00Z"
}
definition_id = "7281f9a2-e8d0-4a1c-9c43-ac663b447792"
name = "...my_name..."
secret_id = "...my_secret_id..."
workspace_id = "94ac24f1-d3b4-46af-ace7-475d3264149a"
}
configuration
(Attributes) (see below for nested schema)name
(String) Name of the source e.g. dev-mysql-instance.workspace_id
(String)
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.
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)
Required:
account_id
(String) Your Stripe account ID (starts with 'acct_', find yours here).client_secret
(String, Sensitive) Stripe API key (usually starts with 'sk_live_'; find yours here).
Optional:
call_rate_limit
(Number) The number of API calls per second that you allow connector to make. This value can not be bigger than real API call rate limit (https://stripe.com/docs/rate-limits). If not specified the default maximum is 25 and 100 calls per second for test and production tokens respectively.lookback_window_days
(Number) When set, the connector will always re-export data from the past N days, where N is the value set here. This is useful if your data is frequently updated after creation. The Lookback Window only applies to streams that do not support event-based incremental syncs: Events, SetupAttempts, ShippingRates, BalanceTransactions, Files, FileLinks, Refunds. More info here. Default: 0num_workers
(Number) The number of worker thread to use for the sync. The performance upper boundary depends on call_rate_limit setting and type of account. Default: 10slice_range
(Number) The time increment used by the connector when requesting data from the Stripe API. The bigger the value is, the less requests will be made and faster the sync will be. On the other hand, the more seldom the state is persisted. Default: 365start_date
(String) UTC date and time in the format 2017-01-25T00:00:00Z. Only data generated after this date will be replicated. Default: "2017-01-25T00:00:00Z"
Read-Only:
default
(Attributes) optional resource requirements to run workers (blank for unbounded allocations) (see below for nested schema)job_specific
(Attributes List) (see below for nested schema)
Read-Only:
cpu_limit
(String)cpu_request
(String)ephemeral_storage_limit
(String)ephemeral_storage_request
(String)memory_limit
(String)memory_request
(String)
Read-Only:
job_type
(String) enum that describes the different types of jobs that the platform runs. must be one of ["get_spec", "check_connection", "discover_schema", "sync", "reset_connection", "connection_updater", "replicate"]resource_requirements
(Attributes) optional resource requirements to run workers (blank for unbounded allocations) (see below for nested schema)
Read-Only:
cpu_limit
(String)cpu_request
(String)ephemeral_storage_limit
(String)ephemeral_storage_request
(String)memory_limit
(String)memory_request
(String)
Import is supported using the following syntax:
terraform import airbyte_source_stripe.my_airbyte_source_stripe ""