oci_media_services_media_workflow

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

Creates a new MediaWorkflow.

Example Usage

resource "oci_media_services_media_workflow" "test_media_workflow" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.media_workflow_display_name

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

		#Optional
		message = var.media_workflow_locks_message
		related_resource_id = oci_usage_proxy_resource.test_resource.id
		time_created = var.media_workflow_locks_time_created
	}
	media_workflow_configuration_ids = var.media_workflow_media_workflow_configuration_ids
	parameters = var.media_workflow_parameters
	tasks {
		#Required
		key = var.media_workflow_tasks_key
		parameters = var.media_workflow_tasks_parameters
		type = var.media_workflow_tasks_type
		version = var.media_workflow_tasks_version

		#Optional
		enable_parameter_reference = var.media_workflow_tasks_enable_parameter_reference
		enable_when_referenced_parameter_equals = var.media_workflow_tasks_enable_when_referenced_parameter_equals
		prerequisites = var.media_workflow_tasks_prerequisites
	}
}

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 * update - (Defaults to 20 minutes), when updating the Media Workflow * delete - (Defaults to 20 minutes), when destroying the Media Workflow

Import

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

$ terraform import oci_media_services_media_workflow.test_media_workflow "id"