Use this data source to access information about an existing Web Application Firewall Policy.
data "azurerm_web_application_firewall_policy" "example" {
resource_group_name = "existing"
name = "existing"
}
output "id" {
value = data.azurerm_web_application_firewall_policy.example.id
}
The following arguments are supported:
name
- (Required) The name of the Web Application Firewall Policy
resource_group_name
- (Required) The name of the Resource Group where the Web Application Firewall Policy exists.
In addition to the Arguments listed above - the following Attributes are exported:
id
- The ID of the Web Application Firewall Policy.The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Web Application Firewall Policy.