oci_nosql_table

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

Create a new table.

Example Usage

resource "oci_nosql_table" "test_table" {
	#Required
	compartment_id = var.compartment_id
	ddl_statement = var.table_ddl_statement
	name = var.table_name

	#Optional
	defined_tags = var.table_defined_tags
	freeform_tags = {"bar-key"= "value"}
	is_auto_reclaimable = var.table_is_auto_reclaimable
	table_limits {
		#Required
		max_read_units = var.table_table_limits_max_read_units
		max_storage_in_gbs = var.table_table_limits_max_storage_in_gbs
		max_write_units = var.table_table_limits_max_write_units

		#Optional
		capacity_mode = var.table_table_limits_capacity_mode
	}
}

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

Import

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

$ terraform import oci_nosql_table.test_table "id"