oci_oda_oda_instance

This resource provides the Oda Instance resource in Oracle Cloud Infrastructure Digital Assistant service.

Starts an asynchronous job to create a Digital Assistant instance.

To monitor the status of the job, take the opc-work-request-id response header value and use it to call GET /workRequests/{workRequestId}.

Example Usage

resource "oci_oda_oda_instance" "test_oda_instance" {
	#Required
	compartment_id = var.compartment_id
	shape_name = "DEVELOPMENT"

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.oda_instance_description
	display_name = var.oda_instance_display_name
	freeform_tags = {"bar-key"= "value"}
	identity_domain = var.oda_instance_identity_domain
	is_role_based_access = var.oda_instance_is_role_based_access
}

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

Import

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

$ terraform import oci_oda_oda_instance.test_oda_instance "id"