page_title | subcategory | description |
---|---|---|
airbyte_source_github Resource - terraform-provider-airbyte |
SourceGithub Resource |
SourceGithub Resource
resource "airbyte_source_github" "my_source_github" {
configuration = {
api_url = "https://github.com"
branches = [
"..."
]
credentials = {
personal_access_token = {
personal_access_token = "...my_personal_access_token..."
}
}
max_waiting_time = 10
repositories = [
"..."
]
start_date = "2021-03-01T00:00:00Z"
}
definition_id = "eed1fe5e-7311-4b8b-9ce8-186629287c2f"
name = "...my_name..."
secret_id = "...my_secret_id..."
workspace_id = "8cc76dd7-521b-4116-ab6d-3a729514b42f"
}
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:
credentials
(Attributes) Choose how to authenticate to GitHub (see below for nested schema)repositories
(List of String) List of GitHub organizations/repositories, e.g.airbytehq/airbyte
for single repository,airbytehq/*
for get all repositories from organization and `airbytehq/a* for matching multiple repositories by pattern.
Optional:
api_url
(String) Please enter your basic URL from self-hosted GitHub instance or leave it empty to use GitHub. Default: "https://api.github.com/"branches
(List of String) List of GitHub repository branches to pull commits for, e.g.airbytehq/airbyte/master
. If no branches are specified for a repository, the default branch will be pulled.max_waiting_time
(Number) Max Waiting Time for rate limit. Set higher value to wait till rate limits will be resetted to continue sync. Default: 10start_date
(String) The date from which you'd like to replicate data from GitHub in the format YYYY-MM-DDT00:00:00Z. If the date is not set, all data will be replicated. For the streams which support this configuration, only data generated on or after the start date will be replicated. This field doesn't apply to all streams, see the docs for more info
Optional:
o_auth
(Attributes) (see below for nested schema)personal_access_token
(Attributes) (see below for nested schema)
Required:
access_token
(String, Sensitive) OAuth access token
Optional:
client_id
(String, Sensitive) OAuth Client Idclient_secret
(String, Sensitive) OAuth Client secret
Required:
personal_access_token
(String, Sensitive) Log into GitHub and then generate a personal access token. To load balance your API quota consumption across multiple API tokens, input multiple tokens separated with ","
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_github.my_airbyte_source_github ""