serverless / serverless-azure-functions

Serverless Azure Functions Plugin – Add Azure Functions support to the Serverless Framework
MIT License
266 stars 161 forks source link

Method for Function app to use different types of App service plan #607

Open harryzhou1987 opened 2 years ago

harryzhou1987 commented 2 years ago

Hi,

I am using SF to deploy function app and api management for my project. Both of them are running in consumption where there is no problem at all. I would like to use standard app service plan for the function app but it fails during the deployment. I checked the code in lib/models/armTemplates.js but it seems it only support consumption/premium/ase. Also in the lib/armTemplates/resources/appServicePlan.js, the default value for app service plan resources for premium is ElasticPremium (EP1). I would like to use S1 instead.

I am not good at js so could you please advise if there is a way to deploy the app with customise service plan? Thanks.

Regards, Harry