oci_data_safe_audit_trail

This resource provides the Audit Trail resource in Oracle Cloud Infrastructure Data Safe service.

Updates one or more attributes of the specified audit trail.

Example Usage

resource "oci_data_safe_audit_trail" "test_audit_trail" {
	#Required
	audit_trail_id = oci_data_safe_audit_trail.test_audit_trail.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.audit_trail_description
	display_name = var.audit_trail_display_name
	freeform_tags = {"Department"= "Finance"}
	is_auto_purge_enabled = var.audit_trail_is_auto_purge_enabled
}

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

Import

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

$ terraform import oci_data_safe_audit_trail.test_audit_trail "id"