Open stan-spotts opened 3 days ago
Hi @stan-spotts , by checking source code, we should be able to add more than one backend_address_pool
, backend_http_settings
block in existing azurerm_application_gateway
resource. From the doc:
backend_address_pool - (Required) One or more backend_address_pool blocks as defined below.
backend_http_settings - (Required) One or more backend_http_settings blocks as defined below.
Would you try if this works?
Is there an existing issue for this?
Community Note
Description
If a method already exists, then maybe this is a request for a documentation update :). But I can't find a way.
I have an app gateway created with three listeners, probes, backend address pools, http settings, and routing rules (for APIM) just fine. I have a need to add listeners, probes, backend address pools, http settings, and routing rules to the app gateway instance for Azure Static Web Apps when I create them in other scripts. This seems like such a normal use case that I'm hoping it's just a documentation issue, or me being blind and not finding how in my searches. Otherwise, just in case, I did add what a potential Terraform configuration might look like to support it.
New or Affected Resource(s)/Data Source(s)
azurerm_application_gateway
Potential Terraform Configuration
References
No response