oci_datascience_ml_application_instance

This resource provides the Ml Application Instance resource in Oracle Cloud Infrastructure Data Science service.

Creates a new MlApplicationInstance.

Example Usage

resource "oci_datascience_ml_application_instance" "test_ml_application_instance" {
	#Required
	compartment_id = var.compartment_id
	ml_application_id = oci_datascience_ml_application.test_ml_application.id
	ml_application_implementation_id = oci_datascience_ml_application_implementation.test_ml_application_implementation.id

	#Optional
	auth_configuration {
		#Required
		type = var.ml_application_instance_auth_configuration_type

		#Optional
		access_token = var.ml_application_instance_auth_configuration_access_token
		application_name = oci_dataflow_application.test_application.name
		audience = var.ml_application_instance_auth_configuration_audience
		domain_id = oci_identity_domain.test_domain.id
		role_name = var.ml_application_instance_auth_configuration_role_name
		scope = var.ml_application_instance_auth_configuration_scope
	}
	configuration {
		#Required
		key = var.ml_application_instance_configuration_key

		#Optional
		value = var.ml_application_instance_configuration_value
	}
	defined_tags = {"Operations.CostCenter"= "42"}
	display_name = var.ml_application_instance_display_name
	freeform_tags = {"Department"= "Finance"}
	is_enabled = var.ml_application_instance_is_enabled
}

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

Import

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

$ terraform import oci_datascience_ml_application_instance.test_ml_application_instance "id"