Skip to content

Latest commit

 

History

History
144 lines (102 loc) · 5.46 KB

File metadata and controls

144 lines (102 loc) · 5.46 KB
page_title subcategory description
airbyte_source_surveymonkey Resource - terraform-provider-airbyte
SourceSurveymonkey Resource

airbyte_source_surveymonkey (Resource)

SourceSurveymonkey Resource

Example Usage

resource "airbyte_source_surveymonkey" "my_source_surveymonkey" {
  configuration = {
    additional_properties = "{ \"see\": \"documentation\" }"
    credentials = {
      access_token  = "...my_access_token..."
      client_id     = "...my_client_id..."
      client_secret = "...my_client_secret..."
    }
    origin     = "Canada"
    start_date = "2021-01-01T00:00:00Z"
    survey_ids = [
      "..."
    ]
  }
  definition_id = "8788e4f2-cdf7-4f67-bc21-9b9f4fffbea1"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "a08cdcf1-32b9-4e64-bdd5-c4df18b0d751"
}

Schema

Required

  • configuration (Attributes) The values required to configure the source. The schema for this must match the schema return by source_definition_specifications/get for the source. (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. Default: "badc5925-0485-42be-8caa-b34096cb71b5"; 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:

  • credentials (Attributes) The authorization method to use to retrieve data from SurveyMonkey (see below for nested schema)
  • 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:

  • additional_properties (String) Parsed as JSON.
  • origin (String) Depending on the originating datacenter of the SurveyMonkey account, the API access URL may be different. Default: "USA"; must be one of ["USA", "Europe", "Canada"]
  • survey_ids (List of String) IDs of the surveys from which you'd like to replicate data. If left empty, data from all boards to which you have access will be replicated.

Nested Schema for configuration.credentials

Required:

  • access_token (String, Sensitive) Access Token for making authenticated requests. See the docs for information on how to generate this key.

Optional:

  • client_id (String, Sensitive) The Client ID of the SurveyMonkey developer application.
  • client_secret (String, Sensitive) The Client Secret of the SurveyMonkey developer application.

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

In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:

import {
  to = airbyte_source_surveymonkey.my_airbyte_source_surveymonkey
  id = "..."
}

The terraform import command can be used, for example:

terraform import airbyte_source_surveymonkey.my_airbyte_source_surveymonkey "..."