oci_network_firewall_network_firewall_policy

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

Creates a new Network Firewall Policy.

Example Usage

resource "oci_network_firewall_network_firewall_policy" "test_network_firewall_policy" {
    #Required
    compartment_id = var.compartment_id

    #Optional
    defined_tags = {"Operations.CostCenter"= "42"}
    display_name = var.network_firewall_policy_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:

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Network Firewall Policy * update - (Defaults to 20 minutes), when updating the Network Firewall Policy * delete - (Defaults to 20 minutes), when destroying the Network Firewall Policy

Import

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

$ terraform import oci_network_firewall_network_firewall_policy.test_network_firewall_policy "id"

Note