You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom Application Gateway WAF rule should have been created.
Actual Behavior
I received an error from Azure and the resource was not created.
Error: Error creating Web Application Firewall Policy "example-wafpolicy" (Resource Group "example-rg"): network.WebApplicationFirewallPoliciesClient#CreateOrUpdate: Invalid input: autorest/validation: validation failed: parameter=parameters.WebApplicationFirewallPolicyPropertiesFormat.ManagedRules constraint=Null value=(*network.ManagedRulesDefinition)(nil) details: value can not be null; required parameter
on main.tf line 6, in resource "azurerm_web_application_firewall_policy" "example":
6: resource "azurerm_web_application_firewall_policy" "example" {
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.12.19
Affected Resource(s)
azurerm_web_application_firewall_policy
Terraform Configuration Files
The below code is a subset from the example usage given on the doc page at https://www.terraform.io/docs/providers/azurerm/r/web_application_firewall_policy.html I receive the same error using the full example from that page.
Debug Output
https://gist.github.com/darrenk13/ff308c5a34378cac9193ba6dc0b5168f
Expected Behavior
Custom Application Gateway WAF rule should have been created.
Actual Behavior
I received an error from Azure and the resource was not created.
Steps to Reproduce
terraform apply
References
The text was updated successfully, but these errors were encountered: