serverless / serverless-azure-functions

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

feat: add provider parameter use32BitWorkerProcess #572

Closed mwillbanks closed 2 years ago

mwillbanks commented 3 years ago

What did you implement: add provider parameter use32BitWorkerProcess

This feature adds the use32BitWorkerProcess parameter which is utilized in the arm template to determine if you will be using a 32-bit function or a 64-bit function. No parameter previously existed to change the defaults which ultimately caused issues when implementing certain functionalities which required 64-bit functionality.

How did you implement it:

Implementation was done by modifying the serverless model to allow the configuration in the model as optional, likewise modifying the functionApp armTemplate to provide the ability to set the proper fields when pushing the template up. Unit tests have accompanied this change.

How can we verify it:

This can be verified by changing serverless.yml to:

provider:
  use32BitWorkerProcess: false

Todos:

Note: Run npm run test:ci to run all validation checks on proposed changes

Is this ready for review?: YES
Is it a breaking change?: NO