Hello everyone,
I am trying to deploy a serverless stack using Azure and Azure DevOps.
I am facing a problem with the redeployment of possible changes to the stack.
I have tried both manual deployment and also from a CICD pipeline but after the first deployment, each time i try to redeploy any changes to serverless.yml or codebase i get the following error:
TypeError: Cannot convert undefined or null to object
at Function.keys ()
at paramsNormalizer (/home/vsts/work/1/s/node_modules/serverless-azure-functions/lib/services/armService.js:258:31)
at ArmService.areDeploymentsEqual (/home/vsts/work/1/s/node_modules/serverless-azure-functions/lib/services/armService.js:275:80)
at ArmService. (/home/vsts/work/1/s/node_modules/serverless-azure-functions/lib/services/armService.js:192:34)
at step (/home/vsts/work/1/s/node_modules/serverless-azure-functions/lib/services/armService.js:56:23)
at Object.next (/home/vsts/work/1/s/node_modules/serverless-azure-functions/lib/services/armService.js:37:53)
at fulfilled (/home/vsts/work/1/s/node_modules/serverless-azure-functions/lib/services/armService.js:28:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
For debugging logs, run again after setting the “SLS_DEBUG=*” environment variable.
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
Operating System: linux
Node Version: 10.19.0
Framework Version: 1.63.0
Plugin Version: 3.3.0
SDK Version: 2.3.0
Components Core Version: 1.1.2
Components CLI Version: 1.4.0
Also to add that I have tried with :
- Passing no Resource group ( let serverless create the respective one)
- Initializing it in the serverless.yml file ( resourceGroup: myresourcegroupname)
- Passing it with the serverless deploy -g myresourcegroupname
Thanks,
Konstantinos