oci_database_pluggable_databases_remote_clone

This resource provides the Pluggable Databases Remote Clone resource in Oracle Cloud Infrastructure Database service.

Deprecated. Use CreatePluggableDatabase for Pluggable Database RemoteClone Operation. Clones a pluggable database (PDB) to a different database from the source PDB. The cloned PDB will be started upon completion of the clone operation. The source PDB must be in the READ_WRITE openMode when performing the clone. For Exadata Cloud@Customer instances, the source pluggable database (PDB) must be on the same Exadata Infrastructure as the target container database (CDB) to create a remote clone.

Example Usage

resource "oci_database_pluggable_databases_remote_clone" "test_pluggable_databases_remote_clone" {
	#Required
	cloned_pdb_name = var.pluggable_databases_remote_clone_cloned_pdb_name
	pluggable_database_id = oci_database_pluggable_database.test_pluggable_database.id
	source_container_db_admin_password = var.pluggable_databases_remote_clone_source_container_db_admin_password
	target_container_database_id = oci_database_database.test_database.id

	#Optional
	pdb_admin_password = var.pluggable_databases_remote_clone_pdb_admin_password
	should_pdb_admin_account_be_locked = var.pluggable_databases_remote_clone_should_pdb_admin_account_be_locked
	target_tde_wallet_password = var.pluggable_databases_remote_clone_target_tde_wallet_password
}

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

Import

Import is not supported for this resource.