oci_data_safe_sql_collection

This resource provides the Sql Collection resource in Oracle Cloud Infrastructure Data Safe service.

Creates a new SQL collection resource.

Example Usage

resource "oci_data_safe_sql_collection" "test_sql_collection" {
	#Required
	compartment_id = var.compartment_id
	db_user_name = oci_identity_user.test_user.name
	target_id = oci_cloud_guard_target.test_target.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.sql_collection_description
	display_name = var.sql_collection_display_name
	freeform_tags = {"Department"= "Finance"}
	sql_level = var.sql_collection_sql_level
	status = var.sql_collection_status
}

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

Import

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

$ terraform import oci_data_safe_sql_collection.test_sql_collection "id"