Command `func templates list` returns invalid templates
See original GitHub issueThe templates returned from func templates list
are not valid as input for func new
’s --template
parameter.
func templates list --language dotnet
returns (amongst others) the template ‘Azure Service Bus Topic trigger’.
Using the output in func new --template 'Azure Service Bus Topic trigger'
will result in an error Unknown template 'AzureServiceBusTopictrigger' (Parameter 'templateName')
.
Instead Service Bus Topic trigger
needs to be used.
Version 4.0.3971
Issue Analytics
- State:
- Created 2 years ago
- Reactions:8
- Comments:5
Top Results From Across the Web
Resolve template validation or template format errors in ...
This returns the following error: "Template validation error: Invalid template property or properties [Bucket]." This error is caused because the CloudFormation ...
Read more >Invalid cast error in function template which return values ...
If I try to compile my template the compiler throws the following error: error: cannot initialize return object of type 'int' with an...
Read more >Azure Functions Core Tools reference
Use the func templates list command to see the complete list of available templates for each supported language. To learn more, see Create...
Read more >Resource functions for ARM templates - Azure
Describes the functions to use in an Azure Resource Manager template (ARM template) to retrieve values about resources.
Read more >templatefile - Functions - Configuration Language | Terraform
This function just allows longer template sequences to be factored out into a separate file for readability. The "vars" argument must be an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The list of templates returned by
func templates list --language C#
does not match the template list shown after executingfunc new --language C#
. Why would these lists be different?Issue exists Core Tools Version: 4.0.4829 Commit hash: N/A (64-bit) Function Runtime Version: 4.11.2.19273