Skip to content

Latest commit

 

History

History
75 lines (56 loc) · 2.81 KB

source_pardot.md

File metadata and controls

75 lines (56 loc) · 2.81 KB
page_title subcategory description
airbyte_source_pardot Resource - terraform-provider-airbyte
SourcePardot Resource

airbyte_source_pardot (Resource)

SourcePardot Resource

Example Usage

resource "airbyte_source_pardot" "my_source_pardot" {
  configuration = {
    client_id               = "...my_client_id..."
    client_secret           = "...my_client_secret..."
    is_sandbox              = true
    page_size               = "...my_page_size..."
    pardot_business_unit_id = "...my_pardot_business_unit_id..."
    refresh_token           = "...my_refresh_token..."
    start_date              = "2021-07-25T00:00:00Z"
  }
  definition_id = "762e3001-6edb-4979-8bc5-5c4d9f862232"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "d5e8c4ce-fc79-41ce-a312-1e9b3d367285"
}

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)
  • source_id (String)
  • source_type (String)

Nested Schema for configuration

Required:

  • client_id (String, Sensitive) The Consumer Key that can be found when viewing your app in Salesforce
  • client_secret (String, Sensitive) The Consumer Secret that can be found when viewing your app in Salesforce
  • pardot_business_unit_id (String) Pardot Business ID, can be found at Setup > Pardot > Pardot Account Setup
  • refresh_token (String, Sensitive) Salesforce Refresh Token used for Airbyte to access your Salesforce account. If you don't know what this is, follow this guide to retrieve it.

Optional:

  • is_sandbox (Boolean) Whether or not the the app is in a Salesforce sandbox. If you do not know what this, assume it is false. Default: false
  • page_size (String) The maximum number of records to return per request. Default: "1000"
  • start_date (String) UTC date and time in the format 2000-01-01T00:00:00Z. Any data before this date will not be replicated. Defaults to the year Pardot was released. Default: "2007-01-01T00:00:00Z"

Import

Import is supported using the following syntax:

terraform import airbyte_source_pardot.my_airbyte_source_pardot ""