oci_generative_ai_dedicated_ai_cluster

This resource provides the Dedicated Ai Cluster resource in Oracle Cloud Infrastructure Generative AI service.

Creates a dedicated AI cluster.

Example Usage

resource "oci_generative_ai_dedicated_ai_cluster" "test_dedicated_ai_cluster" {
	#Required
	compartment_id = var.compartment_id
	type = var.dedicated_ai_cluster_type
	unit_count = var.dedicated_ai_cluster_unit_count
	unit_shape = var.dedicated_ai_cluster_unit_shape

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.dedicated_ai_cluster_description
	display_name = var.dedicated_ai_cluster_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:

To use any of the API operations, you must be authorized in an IAM policy. If you’re not authorized, talk to an administrator who gives Oracle Cloud Infrastructure resource access to users. See Getting Started with Policies and Getting Access to Generative AI Resouces. * state - The current state of the dedicated AI cluster. * system_tags - System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"} * time_created - The date and time the dedicated AI cluster was created, in the format defined by RFC 3339 * time_updated - The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339 * type - The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor. * unit_count - The number of dedicated units in this AI cluster. * unit_shape - The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Dedicated Ai Cluster * update - (Defaults to 20 minutes), when updating the Dedicated Ai Cluster * delete - (Defaults to 20 minutes), when destroying the Dedicated Ai Cluster

Import

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

$ terraform import oci_generative_ai_dedicated_ai_cluster.test_dedicated_ai_cluster "id"