Templates
Basics
Templates are code snippets that allow you to bootstrap a project or generate recurring configuration. You can list the available templates.
> conveyor template list
NAMESPACE | TEMPLATE
------------+----------------------------
project | dbt
project | pyspark
project | python
project | spark
resource | aws/container-iam-role-s3
resource | aws/spark-iam-role-glue
Templates can be applied by using the apply
subcommand.
> conveyor template apply --template project/pyspark
You can also specify your project template when creating a new project.
> conveyor project create --name tutorial --template pyspark
Custom templates
Templates are based on cookiecutter. You can create your own custom templates and apply them.
> conveyor template apply --template https://github.com/repo/template.git
> conveyor template apply --template git+ssh://git@github.com/repo/template.git
> conveyor template apply --template https://example.com/path/to/template.zip