Issue: When deploying Azure Functions on Azure Container Apps (ACA) using azd up, the deployment fails if the ACA resource has kind=functionapp specified. The error occurs because scale rules cannot be manually configured for Function Apps.
ERROR CODE: FunctionAppCannotSetScaleRules
{
"error": {
"code": "FunctionAppCannotSetScaleRules",
"message": "Scale rules cannot be manually configured on the Function App. Scaling is auto-configured on the revision based on function triggers."
}
}