oci_data_safe_sdm_masking_policy_difference

This resource provides the Sdm Masking Policy Difference resource in Oracle Cloud Infrastructure Data Safe service.

Creates SDM masking policy difference for the specified masking policy. It finds the difference between masking columns of the masking policy and sensitive columns of the SDM. After performing this operation, you can use ListDifferenceColumns to view the difference columns, PatchSdmMaskingPolicyDifferenceColumns to specify the action you want perform on these columns, and then ApplySdmMaskingPolicyDifference to process the difference columns and apply them to the masking policy.

Example Usage

resource "oci_data_safe_sdm_masking_policy_difference" "test_sdm_masking_policy_difference" {
	#Required
	compartment_id = var.compartment_id
	masking_policy_id = oci_data_safe_masking_policy.test_masking_policy.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	difference_type = var.sdm_masking_policy_difference_difference_type
	display_name = var.sdm_masking_policy_difference_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 Sdm Masking Policy Difference * update - (Defaults to 20 minutes), when updating the Sdm Masking Policy Difference * delete - (Defaults to 20 minutes), when destroying the Sdm Masking Policy Difference

Import

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

$ terraform import oci_data_safe_sdm_masking_policy_difference.test_sdm_masking_policy_difference "id"