oci_iot_digital_twin_model

This resource provides the Digital Twin Model resource in Oracle Cloud Infrastructure Iot service.

Creates a new digital twin model.

Example Usage

resource "oci_iot_digital_twin_model" "test_digital_twin_model" {
	#Required
	iot_domain_id = oci_iot_iot_domain.test_iot_domain.id
	spec = var.digital_twin_model_spec

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.digital_twin_model_description
	display_name = var.digital_twin_model_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 Digital Twin Model * update - (Defaults to 20 minutes), when updating the Digital Twin Model * delete - (Defaults to 20 minutes), when destroying the Digital Twin Model

Import

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

$ terraform import oci_iot_digital_twin_model.test_digital_twin_model "id"