Use this data source to list all existing logs pipelines for use in other resources.
# Gets all pipelines
data "datadog_logs_pipelines" "pipelines" {}
# Using data source to set pipeline order
resource "datadog_logs_pipeline_order" "lpo" {
name = "lpo"
pipelines = [
for pipeline in data.datadog_logs_pipelines.pipelines.logs_pipelines : pipeline.id
]
}
is_read_only
(String) Filter parameter for retrieved pipelinesid
(String) The ID of this resource.logs_pipelines
(List of Object) List of logs pipelines (see below for nested schema)logs_pipelines
Read-Only:
filter
(List of Object) (see below for nested schema)id
(String)is_enabled
(Boolean)is_read_only
(Boolean)name
(String)type
(String)logs_pipelines.filter
Read-Only:
query
(String)