» oci_streaming_stream_archiver

This resource provides the Stream Archiver resource in Oracle Cloud Infrastructure Streaming service.

Starts the provisioning of a new stream archiver. To track the progress of the provisioning, you can periodically call GetArchiver. In the response, the lifecycleState parameter of the Stream object tells you its current state.

» Example Usage

resource "oci_streaming_stream_archiver" "test_stream_archiver" {
    #Required
    batch_rollover_size_in_mbs = "${var.stream_archiver_batch_rollover_size_in_mbs}"
    batch_rollover_time_in_seconds = "${var.stream_archiver_batch_rollover_time_in_seconds}"
    bucket = "${var.stream_archiver_bucket}"
    start_position = "${var.stream_archiver_start_position}"
    stream_id = "${oci_streaming_stream.test_stream.id}"
    use_existing_bucket = "${var.stream_archiver_use_existing_bucket}"

    #Optional
    state = "stopped"
}

» Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

» Attributes Reference

The following attributes are exported:

» Import

StreamArchiver can be imported using the id, e.g.

$ terraform import oci_streaming_stream_archiver.test_stream_archiver "streams/{streamId}/archiver"