oci_network_firewall_network_firewall_policy_service

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

Creates a new Service for the Network Firewall Policy.

Example Usage

resource "oci_network_firewall_network_firewall_policy_service" "test_network_firewall_policy_service" {
	#Required
	name = var.network_firewall_policy_service_name
	network_firewall_policy_id = oci_network_firewall_network_firewall_policy.test_network_firewall_policy.id
	port_ranges {
		#Required
		minimum_port = var.network_firewall_policy_service_port_ranges_minimum_port

		#Optional
		maximum_port = var.network_firewall_policy_service_port_ranges_maximum_port
	}
	type = var.network_firewall_policy_service_type
}

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

Import

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

$ terraform import oci_network_firewall_network_firewall_policy_service.test_network_firewall_policy_service "networkFirewallPolicies/{networkFirewallPolicyId}/services/{serviceName}"