I am trying to create API Management Service using terraform. I am able to map most of the components from the UI to the documentation. But, I cannot see any resource block or configuration option in
azurerm_api_management_api_operation
to add a backend URL for an operation. How do I add it through terraform?
I saw this resource block in the documentation for the backend
resource "azurerm_api_management_backend" "example" {
name = "example-backend"
resource_group_name = azurerm_resource_group.example.name
api_management_name = azurerm_api_management.example.name
protocol = "http"
url = "https://backend"
}
But there is no way to link it to an operation in an API