Provides a Datadog Logs Archive API resource, which is used to manage Datadog log archives order.
resource "datadog_logs_archive_order" "sample_archive_order" {
archive_ids = [
datadog_logs_archive.sample_archive_1.id,
datadog_logs_archive.sample_archive_2.id
]
}
archive_ids
(List of String) The archive IDs list. The order of archive IDs in this attribute defines the overall archive order for logs. If archive_ids
is empty or not specified, it will import the actual archive order, and create the resource. Otherwise, it will try to update the order.id
(String) The ID of this resource.Import is supported using the following syntax:
# There must be at most one datadog_logs_archive_order resource. You can import the datadog_logs_archive_order or create an archive order.
terraform import <datadog_logs_archive_order.name> archiveOrderID