Azure Function App allows HTTPS access to be required when accessing the function. This is considered best practice and can help protect sensitive data in-transit. Using HTTPS for communication is also often required by compliance frameworks and regulations.
In Azure Console -
In Terraform -
For Azure Provider versions prior to v4.x (deprecated in favor of azurerm_linux_function_app and azurerm_windows_function_app resources):
References:
https://learn.microsoft.com/en-us/azure/azure-functions/
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/function_app#https_only