oci_nosql_table_replica

This resource provides the Table Replica resource in Oracle Cloud Infrastructure NoSQL Database service.

Add a replica for this table

Example Usage

resource "oci_nosql_table_replica" "test_table_replica" {
	#Required
	region = var.table_replica_region
	table_name_or_id = oci_nosql_table_name_or.test_table_name_or.id

	#Optional
	compartment_id = var.compartment_id
	max_read_units = var.table_replica_max_read_units
	max_write_units = var.table_replica_max_write_units
}

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

Import

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

$ terraform import oci_nosql_table_replica.test_table_replica "tables/{tableNameOrId}/replicas/{region}"