awscc_osis_pipeline (Resource)

An OpenSearch Ingestion Service Data Prepper pipeline running Data Prepper.

Example Usage

Basic usage - create pipeline with file

resource "awscc_osis_pipeline" "example_pipeline" {
  pipeline_name = "example-pipeline"
  min_units     = 1
  max_units     = 4

  pipeline_configuration_body = file("example-pipeline.yaml")
}

Advanced usage - create pipeline with file and logging enabled

resource "awscc_logs_log_group" "log_group" {
  log_group_name = "/aws/vendedlogs/OpenSearchIngestion/example-pipeline/audit-logs"
}

resource "awscc_osis_pipeline" "example_pipeline" {
  pipeline_name = "example-pipeline"
  min_units     = 1
  max_units     = 4

  pipeline_configuration_body = file("example-pipeline.yaml")

  log_publishing_options = {
    is_logging_enabled = true
    cloudwatch_log_destination = {
      log_group = awscc_logs_log_group.log_group.log_group_name
    }
  }
}

Schema

Required

Optional

Read-Only

Nested Schema for buffer_options

Required:

Nested Schema for encryption_at_rest_options

Required:

Nested Schema for log_publishing_options

Optional:

Nested Schema for log_publishing_options.cloudwatch_log_destination

Required:

Nested Schema for tags

Required:

Nested Schema for vpc_options

Required:

Optional:

Nested Schema for vpc_endpoints

Read-Only:

Nested Schema for vpc_endpoints.vpc_options

Read-Only:

Import

Import is supported using the following syntax:

$ terraform import awscc_osis_pipeline.example <resource ID>