-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Support for more custom error page status code for application gateway #23280
Comments
@jazzywessy Thank you for taking the time to open this feature request! |
Support for the full list of status_codes at both Global and Listener level Adding an un-supported error page via CLI causes a terraform Apply error below,
|
The app gateway is using the network 2022-07-01 terraform-provider-azurerm/internal/services/network/application_gateway_resource.go Line 34 in 63db309
and this version has not the new options they come with the network 2022-11-01 And that takes me the hope, we will get this feature fast :( |
This comment was marked as off-topic.
This comment was marked as off-topic.
I just noticed, that setting the error pages via powershell, will result into a error (Custom error pages has invalid HTTP status code '500' for . Valid status codes are '[403, 502]') in the next apply. |
yeah, I tried to upgrade the API Version and still got the same error 🫠 for those who want to try: terraform state replace-provider hashicorp/azurerm registry.terraform.io/carnei-ro/azurerm
terraform plan |
This comment was marked as off-topic.
This comment was marked as off-topic.
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. |
Is there an existing issue for this?
Community Note
Description
Currently, azurerm_application_gateway http_listener custom_error_configurations status_code only allow 403 and 502.
However, on azure portal other status code is allowed which will defer from terraform state and cannot be track if it is manually added on azure portal.
New or Affected Resource(s)/Data Source(s)
azurerm_application_gateway
Potential Terraform Configuration
References
No response
The text was updated successfully, but these errors were encountered: