» oci_database_autonomous_vm_cluster

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

Creates an Autonomous VM cluster.

» Example Usage

resource "oci_database_autonomous_vm_cluster" "test_autonomous_vm_cluster" {
    #Required
    compartment_id = "${var.compartment_id}"
    display_name = "${var.autonomous_vm_cluster_display_name}"
    exadata_infrastructure_id = "${oci_database_exadata_infrastructure.test_exadata_infrastructure.id}"
    vm_cluster_network_id = "${oci_database_vm_cluster_network.test_vm_cluster_network.id}"

    #Optional
    defined_tags = "${var.autonomous_vm_cluster_defined_tags}"
    freeform_tags = {"Department"= "Finance"}
    is_local_backup_enabled = "${var.autonomous_vm_cluster_is_local_backup_enabled}"
    license_model = "${var.autonomous_vm_cluster_license_model}"
    time_zone = "${var.autonomous_vm_cluster_time_zone}"
}

» Argument Reference

The following arguments are supported:

  • compartment_id - (Required) (Updatable) The OCID of the compartment.
  • defined_tags - (Optional) (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
  • display_name - (Required) The user-friendly name for the Autonomous VM cluster. The name does not need to be unique.
  • exadata_infrastructure_id - (Required) The OCID of the Exadata infrastructure.
  • freeform_tags - (Optional) (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
  • is_local_backup_enabled - (Optional) If true, database backup on local Exadata storage is configured for the Autonomous VM cluster. If false, database backup on local Exadata storage is not available in the Autonomous VM cluster.
  • license_model - (Optional) (Updatable) The Oracle license model that applies to the Autonomous VM cluster. The default is BRING_YOUR_OWN_LICENSE.
  • time_zone - (Optional) The time zone to use for the Autonomous VM cluster. For details, see DB System Time Zones.
  • vm_cluster_network_id - (Required) The OCID of the VM cluster network.

** 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:

» Import

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

$ terraform import oci_database_autonomous_vm_cluster.test_autonomous_vm_cluster "id"