oci_datascience_model_artifact_signature

This resource provides the Model Artifact Signature resource in Oracle Cloud Infrastructure Data Science service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-science/latest/ArtifactSignature

Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datascience

Create model artifact signature for the specified model

Example Usage

resource "oci_datascience_model_artifact_signature" "test_model_artifact_signature" {
	#Required
	compartment_id = var.compartment_id
	kms_key_id = oci_kms_key.test_key.id
	kms_key_version_id = oci_kms_key_version.test_key_version.id
	model_id = oci_datascience_model.test_model.id
	signing_algorithm = var.model_artifact_signature_signing_algorithm

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	display_name = var.model_artifact_signature_display_name
	freeform_tags = {"Department"= "Finance"}
}

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

Import

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

$ terraform import oci_datascience_model_artifact_signature.test_model_artifact_signature "models/{modelId}/artifactSignatures/{artifactSignatureId}"