oci_media_services_stream_packaging_config

This resource provides the Stream Packaging Config resource in Oracle Cloud Infrastructure Media Services service.

Creates a new Packaging Configuration.

Example Usage

resource "oci_media_services_stream_packaging_config" "test_stream_packaging_config" {
	#Required
	display_name = var.stream_packaging_config_display_name
	distribution_channel_id = oci_mysql_channel.test_channel.id
	segment_time_in_seconds = var.stream_packaging_config_segment_time_in_seconds
	stream_packaging_format = var.stream_packaging_config_stream_packaging_format

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	encryption {
		#Required
		algorithm = var.stream_packaging_config_encryption_algorithm

		#Optional
		kms_key_id = oci_kms_key.test_key.id
	}
	freeform_tags = {"bar-key"= "value"}
	locks {
		#Required
		compartment_id = var.compartment_id
		type = var.stream_packaging_config_locks_type

		#Optional
		message = var.stream_packaging_config_locks_message
		related_resource_id = oci_usage_proxy_resource.test_resource.id
		time_created = var.stream_packaging_config_locks_time_created
	}
}

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

Import

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

$ terraform import oci_media_services_stream_packaging_config.test_stream_packaging_config "id"