oci_datascience_pipeline_run

This resource provides the Pipeline Run resource in Oracle Cloud Infrastructure Data Science service.

Creates a new PipelineRun.

Example Usage

resource "oci_datascience_pipeline_run" "test_pipeline_run" {
	#Required
	compartment_id = var.compartment_id
	pipeline_id = oci_datascience_pipeline.test_pipeline.id

	#Optional
	configuration_override_details {
		#Required
		type = var.pipeline_run_configuration_override_details_type

		#Optional
		command_line_arguments = var.pipeline_run_configuration_override_details_command_line_arguments
		environment_variables = var.pipeline_run_configuration_override_details_environment_variables
		maximum_runtime_in_minutes = var.pipeline_run_configuration_override_details_maximum_runtime_in_minutes
	}
	defined_tags = {"Operations.CostCenter"= "42"}
	display_name = var.pipeline_run_display_name
	freeform_tags = {"Department"= "Finance"}
	log_configuration_override_details {

		#Optional
		enable_auto_log_creation = var.pipeline_run_log_configuration_override_details_enable_auto_log_creation
		enable_logging = var.pipeline_run_log_configuration_override_details_enable_logging
		log_group_id = oci_logging_log_group.test_log_group.id
		log_id = oci_logging_log.test_log.id
	}
	opc_parent_rpt_url = var.pipeline_run_opc_parent_rpt_url
	project_id = oci_datascience_project.test_project.id
	step_override_details {
		#Required
		step_configuration_details {

			#Optional
			command_line_arguments = var.pipeline_run_step_override_details_step_configuration_details_command_line_arguments
			environment_variables = var.pipeline_run_step_override_details_step_configuration_details_environment_variables
			maximum_runtime_in_minutes = var.pipeline_run_step_override_details_step_configuration_details_maximum_runtime_in_minutes
		}
		step_name = var.pipeline_run_step_override_details_step_name

		#Optional
		step_container_configuration_details {
			#Required
			container_type = var.pipeline_run_step_override_details_step_container_configuration_details_container_type
			image = var.pipeline_run_step_override_details_step_container_configuration_details_image

			#Optional
			cmd = var.pipeline_run_step_override_details_step_container_configuration_details_cmd
			entrypoint = var.pipeline_run_step_override_details_step_container_configuration_details_entrypoint
			image_digest = var.pipeline_run_step_override_details_step_container_configuration_details_image_digest
			image_signature_id = oci_datascience_image_signature.test_image_signature.id
		}
	}
	system_tags = var.pipeline_run_system_tags
}

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

Import

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

$ terraform import oci_datascience_pipeline_run.test_pipeline_run "id"