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

Error: Application Gateway Request Routing Rules Using Same Http Listener #9

Open
JCP13 opened this issue Oct 7, 2022 · 0 comments

Comments

@JCP13
Copy link

JCP13 commented Oct 7, 2022

Greetings,

Thank you for the source code, it is well needed. I am working through the code updating it and trying to get it to work. I am running into an issue and I am not sure how to resolve it.

Here is the error message:

│ Error: creating Application Gateway: (Name "application-gateway" / Resource Group "terraform-azurerm-application-gateway"): network.ApplicationGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="ApplicationGatewayRequestRoutingRulesUsingSameHttpListener" Message="Two Request Routing Rules of Application Gateway /subscriptions/""/resourceGroups/terraform-azurerm-application-gateway/providers/Microsoft.Network/applicationGateways/application-gateway are using the same Http Listener /subscriptions/""/resourceGroups/terraform-azurerm-application-gateway/providers/Microsoft.Network/applicationGateways/application-gateway/httpListeners/http-listener." Details=[]

│ with module.application-gateway.azurerm_application_gateway.appgw,
│ on modules/app-gateway/ag.tf line 1, in resource "azurerm_application_gateway" "appgw":
│ 1: resource "azurerm_application_gateway" "appgw" {

Here is a link to this issue but no resolution:
hashicorp/terraform-provider-azurerm#8767

Any help would greatly be appreciated.

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant