oci_database_management_external_cluster

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

Updates the external cluster specified by externalClusterId.

Example Usage

resource "oci_database_management_external_cluster" "test_external_cluster" {
    #Required
    external_cluster_id = oci_database_management_external_cluster.test_external_cluster.id

    #Optional
    defined_tags = {"Operations.CostCenter"= "42"}
    external_connector_id = oci_database_management_external_connector.test_external_connector.id
    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 External Cluster * update - (Defaults to 20 minutes), when updating the External Cluster * delete - (Defaults to 20 minutes), when destroying the External Cluster

Import

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

$ terraform import oci_database_management_external_cluster.test_external_cluster "id"