oci_media_services_media_workflow_job

This resource provides the Media Workflow Job resource in Oracle Cloud Infrastructure Media Services service.

Run the MediaWorkflow according to the given mediaWorkflow definition and configuration.

Example Usage

resource "oci_media_services_media_workflow_job" "test_media_workflow_job" {
    #Required
    compartment_id = var.compartment_id
    workflow_identifier_type = var.media_workflow_job_workflow_identifier_type

    #Optional
    defined_tags = {"foo-namespace.bar-key"= "value"}
    display_name = var.media_workflow_job_display_name
    freeform_tags = {"bar-key"= "value"}
    locks {
        #Required
        compartment_id = var.compartment_id
        type = var.media_workflow_job_locks_type

        #Optional
        message = var.media_workflow_job_locks_message
        related_resource_id = oci_usage_proxy_resource.test_resource.id
        time_created = var.media_workflow_job_locks_time_created
    }
    media_workflow_configuration_ids = var.media_workflow_job_media_workflow_configuration_ids
    media_workflow_id = oci_media_services_media_workflow.test_media_workflow.id
    media_workflow_name = oci_media_services_media_workflow.test_media_workflow.name
    parameters = var.media_workflow_job_parameters
}

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:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Media Workflow Job * update - (Defaults to 20 minutes), when updating the Media Workflow Job * delete - (Defaults to 20 minutes), when destroying the Media Workflow Job

Import

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

$ terraform import oci_media_services_media_workflow_job.test_media_workflow_job "id"