| page_title | subcategory | description |
|---|---|---|
airbyte_source_salesforce Resource - terraform-provider-airbyte |
SourceSalesforce Resource |
SourceSalesforce Resource
resource "airbyte_source_salesforce" "my_source_salesforce" {
configuration = {
additional_properties = "{ \"see\": \"documentation\" }"
client_id = "...my_client_id..."
client_secret = "...my_client_secret..."
force_use_bulk_api = true
is_sandbox = false
lookback_window = "PT10M"
refresh_token = "...my_refresh_token..."
start_date = "2021-07-25"
stream_slice_step = "PT12H"
streams_criteria = [
{
criteria = "not contains"
value = "...my_value..."
}
]
}
definition_id = "ac775334-3ab2-43d2-b41a-9b554542b831"
name = "...my_name..."
secret_id = "...my_secret_id..."
workspace_id = "009ca65a-dea0-4cfe-b1a6-e5f50c2ef465"
}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)
definition_id(String) The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "b117307c-14b6-41aa-9422-947e34922962"; 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:
client_id(String) Enter your Salesforce developer application's Client IDclient_secret(String, Sensitive) Enter your Salesforce developer application's Client secretrefresh_token(String, Sensitive) Enter your application's Salesforce Refresh Token used for Airbyte to access your Salesforce account.
Optional:
additional_properties(String) Parsed as JSON.force_use_bulk_api(Boolean) Toggle to use Bulk API (this might cause empty fields for some streams). Default: falseis_sandbox(Boolean) Toggle if you're using a Salesforce Sandbox. Default: falselookback_window(String) The duration (ISO8601 duration) to re-read data from the source when running incremental syncs. This compensates for records that may not be immediately available when querying the Salesforce API due to eventual consistency delays. The connector will re-query this amount of time before the last cursor position on each sync. Increase this value if you observe missing records in your destination. See Limitations & Troubleshooting for details. Default: "PT10M"start_date(String) Enter the date (or date-time) in the YYYY-MM-DD or YYYY-MM-DDTHH:mm:ssZ format. Airbyte will replicate the data updated on and after this date. If this field is blank, Airbyte will replicate the data for last two years.stream_slice_step(String) The size of the time window (ISO8601 duration) to slice requests. Default: "P30D"streams_criteria(Attributes List) Add filters to select only required stream based onSObjectname. Use this field to filter which tables are displayed by this connector. This is useful if your Salesforce account has a large number of tables (>1000), in which case you may find it easier to navigate the UI and speed up the connector's performance if you restrict the tables displayed by this connector. (see below for nested schema)
Required:
value(String)
Optional:
criteria(String) Default: "contains"; must be one of ["starts with", "ends with", "contains", "exacts", "starts not with", "ends not with", "not contains", "not exacts"]
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.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:
In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:
import {
to = airbyte_source_salesforce.my_airbyte_source_salesforce
id = "..."
}The terraform import command can be used, for example:
terraform import airbyte_source_salesforce.my_airbyte_source_salesforce "..."