| page_title | subcategory | description |
|---|---|---|
airbyte_source_mixpanel Resource - terraform-provider-airbyte |
SourceMixpanel Resource |
SourceMixpanel Resource
resource "airbyte_source_mixpanel" "my_source_mixpanel" {
configuration = {
attribution_window = 10
credentials = {
service_account = {
project_id = 10
secret = "...my_secret..."
username = "...my_username..."
}
}
date_window_size = 10
end_date = "2021-11-16"
export_lookback_window = 9
num_workers = 1
page_size = 6
project_timezone = "US/Pacific"
region = "US"
select_properties_by_default = true
start_date = "2021-11-16"
}
definition_id = "ec7b9d35-13cb-4117-b2ed-d8a6874a4325"
name = "...my_name..."
secret_id = "...my_secret_id..."
workspace_id = "350068e1-f8f0-490a-ba81-d5400042882c"
}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: "12928b32-bf0a-4f1e-964f-07e12e37153a"; 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:
credentials(Attributes) Choose how to authenticate to Mixpanel (see below for nested schema)
Optional:
attribution_window(Number) A period of time for attributing results to ads and the lookback period after those actions occur during which ad results are counted. Default attribution window is 5 days. (This value should be non-negative integer). Default: 5date_window_size(Number) Defines window size in days, that used to slice through data. You can reduce it, if amount of data in each window is too big for your environment. (This value should be positive integer). Default: 30end_date(String) The date in the format YYYY-MM-DD. Any data after this date will not be replicated. Left empty to always sync to most recent dateexport_lookback_window(Number) The number of seconds to look back from the last synced timestamp during incremental syncs of the Export stream. This ensures no data is missed due to delays in event recording. Default is 0 seconds. Must be a non-negative integer. Default: 0num_workers(Number) The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Mixpanel pricing plan. More info about the rate limit tiers can be found on Mixpanel's API docs. Default: 3page_size(Number) The number of records to fetch per request for the engage stream. Default is 1000. If you are experiencing long sync times with this stream, try increasing this value. Default: 1000project_timezone(String) Time zone in which integer date times are stored. The project timezone may be found in the project settings in the Mixpanel console. Default: "US/Pacific"region(String) The region of mixpanel domain instance either US or EU. Default: "US"; must be one of ["US", "EU"]select_properties_by_default(Boolean) Setting this config parameter to TRUE ensures that new properties on events and engage records are captured. Otherwise new properties will be ignored. Default: truestart_date(String) The date in the format YYYY-MM-DD. Any data before this date will not be replicated. If this option is not set, the connector will replicate data from up to one year ago by default.
Optional:
project_secret(Attributes) (see below for nested schema)service_account(Attributes) (see below for nested schema)
Required:
api_secret(String, Sensitive) Mixpanel project secret. See the docs for more information on how to obtain this.
Required:
project_id(Number) Your project ID number. See the docs for more information on how to obtain this.secret(String, Sensitive) Mixpanel Service Account Secret. See the docs for more information on how to obtain this.username(String) Mixpanel Service Account Username. See the docs for more information on how to obtain this.
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_mixpanel.my_airbyte_source_mixpanel
id = "..."
}The terraform import command can be used, for example:
terraform import airbyte_source_mixpanel.my_airbyte_source_mixpanel "..."