Hi Team ,
we are getting an error while creating azure application gateway backend address pool for associating with appservice,
Error : The provider hashicorp/azurerm does not support resource type “azurerm_application_gateway_address_pool_association”
Here is terraform code that i used ,
data “azurerm_application_gateway” “agw” {
name = “appgwwaf-nonprod”
resource_group_name = “Rg-test”
}
resource “azurerm_application_gateway_address_pool” “appbep” {
name = “appserviceben-nonprod”
servers = [ “mywebsite.azurewebsites.net” ]
}
resource “azurerm_application_gateway_address_pool_association” “appassociation” {
application_gateway_id = azurerm_application_gateway.agw.id
address_pool_id = azurerm_application_gateway_address_pool.appbep.id
}