oci_data_safe_security_policy_config

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

Creates a new security policy configuration resource.

Example Usage

resource "oci_data_safe_security_policy_config" "test_security_policy_config" {
	#Required
	compartment_id = var.compartment_id
	security_policy_id = oci_data_safe_security_policy.test_security_policy.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.security_policy_config_description
	display_name = var.security_policy_config_display_name
	firewall_config {

		#Optional
		exclude_job = var.security_policy_config_firewall_config_exclude_job
		status = var.security_policy_config_firewall_config_status
		violation_log_auto_purge = var.security_policy_config_firewall_config_violation_log_auto_purge
	}
	freeform_tags = {"Department"= "Finance"}
	unified_audit_policy_config {

		#Optional
		exclude_datasafe_user = var.security_policy_config_unified_audit_policy_config_exclude_datasafe_user
	}
}

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

Import

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

$ terraform import oci_data_safe_security_policy_config.test_security_policy_config "id"