oci_database_external_pluggable_database

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

Registers a new ExternalPluggableDatabase resource.

Example Usage

resource "oci_database_external_pluggable_database" "test_external_pluggable_database" {
    #Required
    compartment_id = var.compartment_id
    display_name = var.external_pluggable_database_display_name
    external_container_database_id = oci_database_external_container_database.test_external_container_database.id

    #Optional
    defined_tags = var.external_pluggable_database_defined_tags
    freeform_tags = {"Department"= "Finance"}
    source_id = oci_database_source.test_source.id
}

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

Import

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

$ terraform import oci_database_external_pluggable_database.test_external_pluggable_database "id"