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:

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"