oci_network_firewall_network_firewall_policy_decryption_rule

This resource provides the Network Firewall Policy Decryption Rule resource in Oracle Cloud Infrastructure Network Firewall service.

Creates a new Decryption Rule for the Network Firewall Policy.

Example Usage

resource "oci_network_firewall_network_firewall_policy_decryption_rule" "test_network_firewall_policy_decryption_rule" {
	lifecycle = {
		ignore_changes = [position]
	}
	#Required
	name = var.network_firewall_policy_decryption_rule_name
	action = var.network_firewall_policy_decryption_rule_action
	condition {
		destination_address = var.network_firewall_policy_decryption_rule_condition_destination_address
		source_address = var.network_firewall_policy_decryption_rule_condition_source_address
	}
	position {
		#Optional
		after_rule = var.network_firewall_policy_decryption_rule_position_after_rule
		before_rule = var.network_firewall_policy_decryption_rule_position_before_rule
	}
	network_firewall_policy_id = oci_network_firewall_network_firewall_policy.test_network_firewall_policy.id

	#Optional
	decryption_profile = var.network_firewall_policy_decryption_rule_decryption_profile
	secret = var.network_firewall_policy_decryption_rule_secret
}

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

Import

NetworkFirewallPolicyDecryptionRules can be imported using the name, e.g.

$ terraform import oci_network_firewall_network_firewall_policy_decryption_rule.test_network_firewall_policy_decryption_rule "networkFirewallPolicies/{networkFirewallPolicyId}/decryptionRules/{decryptionRuleName}"