oci_database_vm_cluster_add_virtual_machine

This resource provides the Vm Cluster Add Virtual Machine resource in Oracle Cloud Infrastructure Database service.

Add Virtual Machines to the VM cluster. Applies to Exadata Cloud@Customer instances only.

Example Usage

resource "oci_database_vm_cluster_add_virtual_machine" "test_vm_cluster_add_virtual_machine" {
	#Required
	db_servers {
		#Required
		db_server_id = oci_database_db_server.test_db_server.id
	}
	vm_cluster_id = oci_database_vm_cluster.test_vm_cluster.id
}
Note: You may also need to add db_servers and cpu_core_count to the ignore_changes for the resource oci_database_vm_cluster list if you see a diff on a subsequent apply

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 Vm Cluster Add Virtual Machine * update - (Defaults to 20 minutes), when updating the Vm Cluster Add Virtual Machine * delete - (Defaults to 20 minutes), when destroying the Vm Cluster Add Virtual Machine

Import

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

$ terraform import oci_database_vm_cluster_add_virtual_machine.test_vm_cluster_add_virtual_machine "id"