# Unsupported option --template-url?

**URL:** <https://forum.serverless.com/t/unsupported-option-template-url/3353>\
**Category:** Serverless Framework\
**Created:** [December 18, 2017, 1:10pm UTC](https://forum.serverless.com/t/unsupported-option-template-url/3353 "2017-12-18T13:10:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsvachon](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@jsvachon](https://forum.serverless.com/u/jsvachon)\
**Post date:** [December 18, 2017, 1:10pm UTC](https://forum.serverless.com/t/unsupported-option-template-url/3353/1 "2017-12-18T13:10:55Z")

</div>

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](https://serverless.com/framework/docs/providers/aws/cli-reference/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

---

<div class="post-metadata">

**Author:** ![BenN](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@BenN](https://forum.serverless.com/u/BenN)\
**Post date:** [December 19, 2017, 4:49pm UTC](https://forum.serverless.com/t/unsupported-option-template-url/3353/2 "2017-12-19T16:49:32Z")

</div>

Hi JS,

Please try update your Serverless’s version. Here it’s working with a new fresh installed 1.24.1 :  
_$ serverless create --template-url [https://github.com/serverless/serverless/tree/master/lib/plugins/create/templates/aws-nodejs](https://github.com/serverless/serverless/tree/master/lib/plugins/create/templates/aws-nodejs) --path myService_  
_Serverless: Generating boilerplate…_  
_Serverless: Downloading and installing “aws-nodejs”…_  
_Serverless: Successfully installed “myService”_

Regards,  
NB

---

<div class="post-metadata">

**Author:** ![jsvachon](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@jsvachon](https://forum.serverless.com/u/jsvachon)\
**Post date:** [December 19, 2017, 7:34pm UTC](https://forum.serverless.com/t/unsupported-option-template-url/3353/3 "2017-12-19T19:34:59Z")

</div>

Thanks, that was indeed the problem.
