oci_generative_ai_semantic_store

This resource provides the Semantic Store resource in Oracle Cloud Infrastructure Generative AI service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/generative-ai/latest/SemanticStore

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

Creates a SemanticStore.

Example Usage

resource "oci_generative_ai_semantic_store" "test_semantic_store" {
	#Required
	compartment_id = var.compartment_id
	data_source {
		#Required
		connection_type = var.semantic_store_data_source_connection_type
		enrichment_connection_id = oci_database_tools_database_tools_connection.test_connection.id
		querying_connection_id = oci_database_tools_database_tools_connection.test_connection.id
	}
	display_name = var.semantic_store_display_name
	schemas {
		#Required
		connection_type = var.semantic_store_schemas_connection_type
		schemas {
			#Required
			name = var.semantic_store_schemas_schemas_name
		}
	}

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.semantic_store_description
	freeform_tags = {"Department"= "Finance"}
	refresh_schedule {
		#Required
		type = var.semantic_store_refresh_schedule_type

		#Optional
		value = var.semantic_store_refresh_schedule_value
	}
}

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

Import

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

$ terraform import oci_generative_ai_semantic_store.test_semantic_store "id"