oci_database_vm_cluster

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

Creates an Exadata Cloud@Customer VM cluster.

Example Usage

resource "oci_database_vm_cluster" "test_vm_cluster" {
    #Required
    compartment_id = var.compartment_id
    cpu_core_count = var.vm_cluster_cpu_core_count
    display_name = var.vm_cluster_display_name
    exadata_infrastructure_id = oci_database_exadata_infrastructure.test_exadata_infrastructure.id
    gi_version = var.vm_cluster_gi_version
    ssh_public_keys = var.vm_cluster_ssh_public_keys
    vm_cluster_network_id = oci_database_vm_cluster_network.test_vm_cluster_network.id

    #Optional
    data_collection_options {

        #Optional
        is_diagnostics_events_enabled = var.vm_cluster_data_collection_options_is_diagnostics_events_enabled
        is_health_monitoring_enabled = var.vm_cluster_data_collection_options_is_health_monitoring_enabled
        is_incident_logs_enabled = var.vm_cluster_data_collection_options_is_incident_logs_enabled
    }
    data_storage_size_in_tbs = var.vm_cluster_data_storage_size_in_tbs
    db_node_storage_size_in_gbs = var.vm_cluster_db_node_storage_size_in_gbs
    db_servers = var.vm_cluster_db_servers
    defined_tags = var.vm_cluster_defined_tags
    freeform_tags = {"Department"= "Finance"}
    is_local_backup_enabled = var.vm_cluster_is_local_backup_enabled
    is_sparse_diskgroup_enabled = var.vm_cluster_is_sparse_diskgroup_enabled
    license_model = var.vm_cluster_license_model
    memory_size_in_gbs = var.vm_cluster_memory_size_in_gbs
    system_version = var.vm_cluster_system_version
    time_zone = var.vm_cluster_time_zone
}

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

Import

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

$ terraform import oci_database_vm_cluster.test_vm_cluster "id"