Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update FileUploadLimitInMb is failing with version 1.24.0 #3177

Closed
MelleD opened this issue Apr 4, 2019 · 3 comments
Closed

Update FileUploadLimitInMb is failing with version 1.24.0 #3177

MelleD opened this issue Apr 4, 2019 · 3 comments

Comments

@MelleD
Copy link

MelleD commented Apr 4, 2019

Hello,

with the new version 1.24.0 i get always a 400 error code.

This is my configuration:

  waf_configuration {
    enabled          = true
    firewall_mode    = "Prevention"
    rule_set_type    = "OWASP"
    rule_set_version = "3.0"
    max_request_body_size_kb = 128
  }

And the error message:

* azurerm_application_gateway.AppGateway: 1 error(s) occurred:

* azurerm_application_gateway.AppGateway: Error Creating/Updating Application Gateway "***" (Resource Group "***"): network.ApplicationGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="ApplicationGatewayFirewallInvalidFileUploadLimitInMbForMediumGw" Message="FileUploadLimitInMb '0' is out of range for medium sku, it should be within '1' and '100' in context 'properties.webApplicationFirewallConfiguration'." Details=[]
<!---
Please note the following potential times when an issue might be in Terraform core:

* [Configuration Language](https://www.terraform.io/docs/configuration/index.html) or resource ordering issues
* [State](https://www.terraform.io/docs/state/index.html) and [State Backend](https://www.terraform.io/docs/backends/index.html) issues
* [Provisioner](https://www.terraform.io/docs/provisioners/index.html) issues
* [Registry](https://registry.terraform.io/) issues
* Spans resources across multiple providers

EDIT: the issue is, when the file upload textfield in the UI is empty as default

@MelleD
Copy link
Author

MelleD commented Apr 4, 2019

Ahhh think it's duplicated sorry #3011

@tombuildsstuff
Copy link
Contributor

hey @sirwayne

Thanks for opening this issue :)

As you've mentioned I believe the root cause of this is being tracked in #3011 - rather than having multiple issues open tracking the same thing I'm going to close this in favour of #3011 - would you mind subscribing to that issue for updates?

Thanks!

@ghost
Copy link

ghost commented May 4, 2019

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 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators May 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants