Provides a Datadog Logs Pipeline API resource, which is used to manage Datadog log pipelines order.
resource "datadog_logs_pipeline_order" "sample_pipeline_order" {
name = "sample_pipeline_order"
pipelines = [
datadog_logs_custom_pipeline.sample_pipeline.id,
datadog_logs_integration_pipeline.python.id
]
}
name
(String) The name attribute in the resource datadog_logs_pipeline_order
needs to be unique. It's recommended to use the same value as the resource name. No related field is available in Logs Pipeline API.pipelines
(List of String) The pipeline IDs list. The order of pipeline IDs in this attribute defines the overall pipeline order for logs.id
(String) The ID of this resource.Import is supported using the following syntax:
# There must be at most one datadog_logs_pipeline_order resource. Pipeline order creation is not supported from logs config API. You can import the datadog_logs_pipeline_order or create a pipeline order (which is actually doing the update operation).
terraform import <datadog_logs_pipeline_order.name> <name>