oci_network_firewall_network_firewall_policy_tunnel_inspection_rule

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

Creates a new tunnel inspection rule for the network firewall policy.

Example Usage

resource "oci_network_firewall_network_firewall_policy_tunnel_inspection_rule" "test_network_firewall_policy_tunnel_inspection_rule" {
	#Required
	condition {

		#Optional
		destination_address = var.network_firewall_policy_tunnel_inspection_rule_condition_destination_address
		source_address = var.network_firewall_policy_tunnel_inspection_rule_condition_source_address
	}
	name = var.network_firewall_policy_tunnel_inspection_rule_name
	network_firewall_policy_id = oci_network_firewall_network_firewall_policy.test_network_firewall_policy.id
	protocol = var.network_firewall_policy_tunnel_inspection_rule_protocol

	#Optional
	action = var.network_firewall_policy_tunnel_inspection_rule_action
	position {

		#Optional
		after_rule = var.network_firewall_policy_tunnel_inspection_rule_position_after_rule
		before_rule = var.network_firewall_policy_tunnel_inspection_rule_position_before_rule
	}
	profile {

		#Optional
		must_return_traffic_to_source = var.network_firewall_policy_tunnel_inspection_rule_profile_must_return_traffic_to_source
	}
}

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

Import

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

$ terraform import oci_network_firewall_network_firewall_policy_tunnel_inspection_rule.test_network_firewall_policy_tunnel_inspection_rule "networkFirewallPolicies/{networkFirewallPolicyId}/tunnelInspectionRules/{tunnelInspectionRuleName}"