oci_datascience_model_provenance

This resource provides the Model Provenance resource in Oracle Cloud Infrastructure Data Science service.

Creates provenance information for the specified model.

Example Usage

resource "oci_datascience_model_provenance" "test_model_provenance" {
	#Required
	model_id = oci_datascience_model.test_model.id

	#Optional
	git_branch = var.model_provenance_git_branch
	git_commit = var.model_provenance_git_commit
	repository_url = var.model_provenance_repository_url
	script_dir = var.model_provenance_script_dir
	training_id = oci_datascience_training.test_training.id
	training_script = var.model_provenance_training_script
}

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

Import

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

$ terraform import oci_datascience_model_provenance.test_model_provenance "models/{modelId}/provenance"