oci_core_compute_host

This resource provides the Compute Host resource in Oracle Cloud Infrastructure Core service.

Customer can update the some fields for ComputeHost record

Example Usage

resource "oci_core_compute_host" "test_compute_host" {
	#Required
	compute_host_id = oci_core_compute_host.test_compute_host.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	display_name = var.compute_host_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 Compute Host * update - (Defaults to 20 minutes), when updating the Compute Host * delete - (Defaults to 20 minutes), when destroying the Compute Host

Import

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

$ terraform import oci_core_compute_host.test_compute_host "id"