page_title | subcategory | description |
---|---|---|
airbyte_source_metabase Resource - terraform-provider-airbyte |
SourceMetabase Resource |
SourceMetabase Resource
resource "airbyte_source_metabase" "my_source_metabase" {
configuration = {
instance_api_url = "https://localhost:3000/api/"
password = "...my_password..."
session_token = "...my_session_token..."
username = "...my_username..."
}
definition_id = "d43c9538-9f19-48fa-839b-519d7ddc6528"
name = "...my_name..."
secret_id = "...my_secret_id..."
workspace_id = "2a6ca9f4-7b13-4377-aec7-a4e44e8ebd23"
}
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:
instance_api_url
(String) URL to your metabase instance APIusername
(String)
Optional:
password
(String, Sensitive)session_token
(String, Sensitive) To generate your session token, you need to run the following command:curl -X POST \ -H "Content-Type: application/json" \ -d '{"username": "[email protected]", "password": "fakepassword"}' \ http://localhost:3000/api/session
Then copy the value of theid
field returned by a successful call to that API. Note that by default, sessions are good for 14 days and needs to be regenerated.
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_metabase.my_airbyte_source_metabase ""