Skip to content

Latest commit

 

History

History
143 lines (98 loc) · 5.76 KB

source_auth0.md

File metadata and controls

143 lines (98 loc) · 5.76 KB
page_title subcategory description
airbyte_source_auth0 Resource - terraform-provider-airbyte
SourceAuth0 Resource

airbyte_source_auth0 (Resource)

SourceAuth0 Resource

Example Usage

resource "airbyte_source_auth0" "my_source_auth0" {
  configuration = {
    base_url = "https://dev-yourOrg.us.auth0.com/"
    credentials = {
      o_auth2_confidential_application = {
        audience      = "https://dev-yourOrg.us.auth0.com/api/v2/"
        client_id     = "Client_ID"
        client_secret = "Client_Secret"
      }
    }
    start_date = "2023-08-05T00:43:59.244Z"
  }
  definition_id = "c81522f4-2b1b-4d41-9891-5186609bc62d"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "0f188999-803b-497f-bcdb-fe3868611adc"
}

Schema

Required

  • configuration (Attributes) (see below for nested schema)
  • name (String) Name of the source e.g. dev-mysql-instance.
  • workspace_id (String)

Optional

  • 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.

Read-Only

  • 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)

Nested Schema for configuration

Required:

  • base_url (String) The Authentication API is served over HTTPS. All URLs referenced in the documentation have the following base https://YOUR_DOMAIN
  • credentials (Attributes) (see below for nested schema)

Optional:

  • start_date (String, Sensitive) UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. Default: "2023-08-05T00:43:59.244Z"

Nested Schema for configuration.credentials

Optional:

Nested Schema for configuration.credentials.o_auth2_access_token

Required:

  • access_token (String, Sensitive) Also called API Access Token The access token used to call the Auth0 Management API Token. It's a JWT that contains specific grant permissions knowns as scopes.

Nested Schema for configuration.credentials.o_auth2_confidential_application

Required:

  • audience (String) The audience for the token, which is your API. You can find this in the Identifier field on your API's settings tab
  • client_id (String) Your application's Client ID. You can find this value on the application's settings tab after you login the admin portal.
  • client_secret (String, Sensitive) Your application's Client Secret. You can find this value on the application's settings tab after you login the admin portal.

Nested Schema for resource_allocation

Read-Only:

Nested Schema for resource_allocation.default

Read-Only:

  • cpu_limit (String)
  • cpu_request (String)
  • ephemeral_storage_limit (String)
  • ephemeral_storage_request (String)
  • memory_limit (String)
  • memory_request (String)

Nested Schema for resource_allocation.job_specific

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)

Nested Schema for resource_allocation.job_specific.resource_requirements

Read-Only:

  • cpu_limit (String)
  • cpu_request (String)
  • ephemeral_storage_limit (String)
  • ephemeral_storage_request (String)
  • memory_limit (String)
  • memory_request (String)

Import

Import is supported using the following syntax:

terraform import airbyte_source_auth0.my_airbyte_source_auth0 ""