Provides a Datadog Logs Index API resource. This can be used to manage the order of Datadog logs indexes.
resource "datadog_logs_index_order" "sample_index_order" {
name = "sample_index_order"
indexes = [
datadog_logs_index.sample_index.id
]
}
indexes
(List of String) The index resource list. Logs are tested against the query filter of each index one by one following the order of the list.name
(String) The unique name of the index order resource.id
(String) The ID of this resource.Import is supported using the following syntax:
# The Datadog Terraform Provider does not support the creation and deletion of index orders. There must be at most one `datadog_logs_index_order` resource
# `<name>` can be whatever you specify in your code. Datadog does not store the name on the server.
terraform import <datadog_logs_index_order.name> <name>