oci_waf_network_address_list

This resource provides the Network Address List resource in Oracle Cloud Infrastructure Waf service.

Creates a new NetworkAddressList.

Example Usage

resource "oci_waf_network_address_list" "test_network_address_list" {
    #Required
    compartment_id = var.compartment_id
    type = var.network_address_list_type

    #Optional
    addresses = var.network_address_list_addresses
    defined_tags = {"foo-namespace.bar-key"= "value"}
    display_name = var.network_address_list_display_name
    freeform_tags = {"bar-key"= "value"}
    system_tags = var.network_address_list_system_tags
    vcn_addresses {

        #Optional
        addresses = var.network_address_list_vcn_addresses_addresses
        vcn_id = oci_core_vcn.test_vcn.id
    }
}

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

Import

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

$ terraform import oci_waf_network_address_list.test_network_address_list "id"