Newish to the serverless framework.
When deploying a function serverless uses the following format serviceName-stage-functionName.
service:
name: gitops
provider:
name: aws
runtime: nodejs10.x
region: us-west-2
profile: dev
versionFunctions: false
package:
individually: true
functions:
gitopsRepoInit:
handler: index.handler
memory: 512
timeout: 30
package:
exclude:
- 'serverless.yml'
So in the case above the function name becomes gitops-dev-gitopsRepoInit.
Is there a way to customize what it names the function. I am not putting this behind API gateway so having the stage in the name (in this case dev) is useless and actually confuses people looking at it.