page_title | subcategory | description |
---|---|---|
airbyte_source_slack Resource - terraform-provider-airbyte |
SourceSlack Resource |
SourceSlack Resource
resource "airbyte_source_slack" "my_source_slack" {
configuration = {
channel_filter = [
"..."
]
credentials = {
sign_in_via_slack_o_auth = {
access_token = "...my_access_token..."
client_id = "...my_client_id..."
client_secret = "...my_client_secret..."
}
}
include_private_channels = false
join_channels = false
lookback_window = 7
start_date = "2017-01-25T00:00:00Z"
}
definition_id = "0e40c94d-0533-49a9-8fb8-ec1935c15487"
name = "...my_name..."
secret_id = "...my_secret_id..."
workspace_id = "c0473aa4-957d-44db-ac2f-386282ba46e7"
}
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:
start_date
(String) UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated.
Optional:
channel_filter
(List of String) A channel name list (without leading '#' char) which limit the channels from which you'd like to sync. Empty list means no filter.credentials
(Attributes) Choose how to authenticate into Slack (see below for nested schema)include_private_channels
(Boolean) Whether to read information from private channels that the bot is already in. If false, only public channels will be read. If true, the bot must be manually added to private channels. Default: falsejoin_channels
(Boolean) Whether to join all channels or to sync data only from channels the bot is already in. If false, you'll need to manually add the bot to all the channels from which you'd like to sync messages. Default: truelookback_window
(Number) How far into the past to look for messages in threads, default is 0 days. Default: 0
Optional:
api_token
(Attributes) (see below for nested schema)sign_in_via_slack_o_auth
(Attributes) (see below for nested schema)
Required:
api_token
(String, Sensitive) A Slack bot token. See the docs for instructions on how to generate it.
Required:
access_token
(String, Sensitive) Slack access_token. See our docs if you need help generating the token.client_id
(String) Slack client_id. See our docs if you need help finding this id.client_secret
(String, Sensitive) Slack client_secret. See our docs if you need help finding this secret.
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_slack.my_airbyte_source_slack ""