oci_core_compute_capacity_topology

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

Creates a new compute capacity topology in the specified compartment and availability domain.

Compute capacity topologies provide the RDMA network topology of your bare metal hosts so that you can launch instances on your bare metal hosts with targeted network locations.

Compute capacity topologies report the health status of your bare metal hosts.

Example Usage

resource "oci_core_compute_capacity_topology" "test_compute_capacity_topology" {
	#Required
	availability_domain = var.compute_capacity_topology_availability_domain
	capacity_source {
		#Required
		capacity_type = var.compute_capacity_topology_capacity_source_capacity_type

		#Optional
		compartment_id = var.compartment_id
	}
	compartment_id = var.compartment_id

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

Import

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

$ terraform import oci_core_compute_capacity_topology.test_compute_capacity_topology "id"