Skip to content

Latest commit

 

History

History
139 lines (99 loc) · 5.49 KB

File metadata and controls

139 lines (99 loc) · 5.49 KB
page_title subcategory description
airbyte_source_aws_cloudtrail Resource - terraform-provider-airbyte
SourceAwsCloudtrail Resource

airbyte_source_aws_cloudtrail (Resource)

SourceAwsCloudtrail Resource

Example Usage

resource "airbyte_source_aws_cloudtrail" "my_source_awscloudtrail" {
  configuration = {
    additional_properties = "{ \"see\": \"documentation\" }"
    aws_key_id            = "...my_aws_key_id..."
    aws_region_name       = "...my_aws_region_name..."
    aws_secret_key        = "...my_aws_secret_key..."
    lookup_attributes_filter = {
      attribute_key   = "EventName"
      attribute_value = "ListInstanceAssociations"
    }
    start_date = "2021-01-01"
  }
  definition_id = "552bff18-4067-44af-bc96-8a4b1825bd55"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "74a290f5-806c-40bd-8860-ace07aaedafd"
}

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: "6ff047c0-f5d5-4ce5-8c81-204a830fa7e1"; 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:

  • aws_key_id (String, Sensitive) AWS CloudTrail Access Key ID. See the docs for more information on how to obtain this key.
  • aws_secret_key (String, Sensitive) AWS CloudTrail Access Key ID. See the docs for more information on how to obtain this key.

Optional:

  • additional_properties (String) Parsed as JSON.
  • aws_region_name (String) The default AWS Region to use, for example, us-west-1 or us-west-2. When specifying a Region inline during client initialization, this property is named region_name. Default: "us-east-1"
  • lookup_attributes_filter (Attributes) (see below for nested schema)
  • start_date (String) The date you would like to replicate data. Data in AWS CloudTrail is available for last 90 days only. Format: YYYY-MM-DD.

Nested Schema for configuration.lookup_attributes_filter

Optional:

  • attribute_key (String) Default: "EventName"
  • attribute_value (String) Default: "ListInstanceAssociations"

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_aws_cloudtrail.my_airbyte_source_aws_cloudtrail
  id = "..."
}

The terraform import command can be used, for example:

terraform import airbyte_source_aws_cloudtrail.my_airbyte_source_aws_cloudtrail "..."