Manages a Palo Alto Local Rulestack Prefix List.
resource "azurerm_resource_group" "example" {
name = "rg-example"
location = "West Europe"
}
resource "azurerm_palo_alto_local_rulestack" "example" {
name = "example"
resource_group_name = azurerm_resource_group.example.name
location = azurerm_resource_group.example.location
}
resource "azurerm_palo_alto_local_rulestack_prefix_list" "example" {
name = "example"
rulestack_id = azurerm_palo_alto_local_rulestack.example.id
prefix_list = ["10.0.1.0/24"]
}
The following arguments are supported:
name
- (Required) The name which should be used for this Palo Alto Local Rulestack Prefix List.
rulestack_id
- (Required) The ID of the Local Rulestack on which to create this Prefix List. Changing this forces a new Palo Alto Local Rulestack Prefix List to be created.
prefix_list
- (Required) Specifies a list of Prefixes.
audit_comment
- (Optional) The comment for Audit purposes.
description
- (Optional) The description for the Prefix List.
In addition to the Arguments listed above - the following Attributes are exported:
id
- The ID of the Palo Alto Local Rulestack Prefix List.The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 30 minutes) Used when creating the Palo Alto Local Rulestack Prefix List.read
- (Defaults to 5 minutes) Used when retrieving the Palo Alto Local Rulestack Prefix List.update
- (Defaults to 30 minutes) Used when updating the Palo Alto Local Rulestack Prefix List.delete
- (Defaults to 30 minutes) Used when deleting the Palo Alto Local Rulestack Prefix List.Palo Alto Local Rulestack Prefix Lists can be imported using the resource id
, e.g.
terraform import azurerm_palo_alto_local_rulestack_prefix_list.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/myLocalRulestack/prefixLists/myFQDNList1