IP restrictions on Azure App Service can help protect the resources from unauthorized access. For more information on setting up restrictions in App Service, see the Azure documentation.
Resources:
https://learn.microsoft.com/en-us/azure/app-service/app-service-ip-restrictions
In Azure Console -
In Terraform -
References:
https://learn.microsoft.com/en-us/azure/app-service/app-service-ip-restrictions?tabs=azurecli
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/app_service#ip_restriction