Hi,
I’m trying to create a new service based on a template I created using the –template-url option as described here: Serverless Framework Commands - AWS Lambda - Create
But the cli does not seem to support this option.
Serverless Error ---------------------------------------
This command requires the --template option / -t shortcut. Usage: Template for the service. Available templates: “aws-nodejs”, “aws-nodejs-typescript”, “aws-nodejs-ecma-script”, “aws-python”, “aws-python3”, “aws-groovy-gradle”, “aws-java-maven”, “aws-java-gradle”, “aws-kotlin-jvm-maven”, “aws-kotlin-nodejs-gradle”, “aws-scala-sbt”, “aws-csharp”, “aws-fsharp”, “azure-nodejs”, “google-nodejs”, “kubeless-python”, “kubeless-nodejs”, “openwhisk-nodejs”, “openwhisk-php”, “openwhisk-python”, “openwhisk-swift”, “spotinst-nodejs”, “spotinst-python”, “webtasks-nodejs”, “plugin” and “hello-world”
The help page does not list this option either…
Plugin: Create
create … Create new Serverless service
–template / -t (required) … Template for the service. Available templates: “aws-nodejs”, “aws-nodejs-typescript”, “aws-nodejs-ecma-script”, “aws-python”, “aws-python3”, “aws-groovy-gradle”, “aws-java-maven”, “aws-java-gradle”, “aws-kotlin-jvm-maven”, “aws-kotlin-nodejs-gradle”, “aws-scala-sbt”, “aws-csharp”, “aws-fsharp”, “azure-nodejs”, “google-nodejs”, “kubeless-python”, “kubeless-nodejs”, “openwhisk-nodejs”, “openwhisk-php”, “openwhisk-python”, “openwhisk-swift”, “spotinst-nodejs”, “spotinst-python”, “webtasks-nodejs”, “plugin” and “hello-world”
–path / -p … The path where the service should be created (e.g. --path my-service)
–name / -n … Name for the service. Overwrites the default name of the created service.
I really need to be able to create new services based my own template.
Is there anyway to accomplish this?
Thanks