oci_data_safe_audit_policy

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

Updates the audit policy.

Example Usage

resource "oci_data_safe_audit_policy" "test_audit_policy" {
	#Required
	audit_policy_id = oci_data_safe_audit_policy.test_audit_policy.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.audit_policy_description
	display_name = var.audit_policy_display_name
	freeform_tags = {"Department"= "Finance"}
}

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

Import

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

$ terraform import oci_data_safe_audit_policy.test_audit_policy "id"