oci_network_firewall_network_firewall

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

Creates a new NetworkFirewall.

Example Usage

resource "oci_network_firewall_network_firewall" "test_network_firewall" {
	#Required
	compartment_id = var.compartment_id
	network_firewall_policy_id = oci_network_firewall_network_firewall_policy.test_network_firewall_policy.id
	subnet_id = oci_core_subnet.test_subnet.id

	#Optional
	availability_domain = var.network_firewall_availability_domain
	defined_tags = {"Operations.CostCenter"= "42"}
	display_name = var.network_firewall_display_name
	freeform_tags = {"Department"= "Finance"}
	ipv4address = var.network_firewall_ipv4address
	ipv6address = var.network_firewall_ipv6address
	network_security_group_ids = var.network_firewall_network_security_group_ids
}

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

Import

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

$ terraform import oci_network_firewall_network_firewall.test_network_firewall "id"