oci_database_pluggable_databases_local_clone

This resource provides the Pluggable Databases Local Clone resource in Oracle Cloud Infrastructure Database service. Although pluggable databases(PDB) belong to a container database(CDB), there is no change to the parent(CDB) as a result of this operation.

Deprecated. Use CreatePluggableDatabase for Pluggable Database LocalClone Operation. Clones and starts a pluggable database (PDB) in the same database (CDB) as the source PDB. The source PDB must be in the READ_WRITE openMode to perform the clone operation.

Example Usage

resource "oci_database_pluggable_databases_local_clone" "test_pluggable_databases_local_clone" {
	#Required
	cloned_pdb_name = var.pluggable_databases_local_clone_cloned_pdb_name
	pluggable_database_id = oci_database_pluggable_database.test_pluggable_database.id

	#Optional
	pdb_admin_password = var.pluggable_databases_local_clone_pdb_admin_password
	should_pdb_admin_account_be_locked = var.pluggable_databases_local_clone_should_pdb_admin_account_be_locked
	target_tde_wallet_password = var.pluggable_databases_local_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 Local Clone * update - (Defaults to 20 minutes), when updating the Pluggable Databases Local Clone * delete - (Defaults to 20 minutes), when destroying the Pluggable Databases Local Clone

Import

Import is not supported for this resource.