oci_data_safe_security_policy_deployment

This resource provides the Security Policy Deployment resource in Oracle Cloud Infrastructure Data Safe service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-safe/latest/SecurityPolicyDeployment

Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datasafe

Creates a Data Safe security policy deployment in the Data Safe Console.

Example Usage

resource "oci_data_safe_security_policy_deployment" "test_security_policy_deployment" {
	#Required
	compartment_id = var.compartment_id
	security_policy_id = oci_data_safe_security_policy.test_security_policy.id
	target_id = oci_cloud_guard_target.test_target.id
	target_type = var.security_policy_deployment_target_type

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.security_policy_deployment_description
	display_name = var.security_policy_deployment_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 Security Policy Deployment * update - (Defaults to 20 minutes), when updating the Security Policy Deployment * delete - (Defaults to 20 minutes), when destroying the Security Policy Deployment

Import

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

$ terraform import oci_data_safe_security_policy_deployment.test_security_policy_deployment "id"