#template #terraform #cli

app tfstarter

A tool to store terraform project templates and copy then on the fly

7 releases (4 breaking)

0.5.1 Feb 1, 2024
0.4.1 Jan 31, 2024
0.3.1 Jan 29, 2024
0.2.0 Jan 29, 2024
0.1.0 Jan 26, 2024

#1771 in Command line utilities

Download history 5/week @ 2024-01-25 2/week @ 2024-02-01 19/week @ 2024-02-22 8/week @ 2024-02-29 2/week @ 2024-03-07 6/week @ 2024-03-14 14/week @ 2024-03-28 10/week @ 2024-04-04 53/week @ 2024-04-11

77 downloads per month

Apache-2.0

25KB
653 lines

tfstarter - Bootstrap your Terraform project with custom template 🚀

Powered by Rust ⚙️

The tool is currently on development, if you think that a feature needs to be added, do no hesitate to create an issue.

Install

Published here

cargo install tfstarter

Usage

Add a templates

Pre configured templates are WIP. For now you can add manualy your Terraform project in ~/.tfstarter/ (note that the directory name that you choose will define the key to use when using this template).

If you want to add placeholder to your templates use the following format :

{{placeholder_name}}

It will be automatically recognized and you will be prompted for the value.

List the templates

Use this command to list all the available templates :

tfstarter get

Use a template

Go to the target directory of your project and generate the terraform project by using :

This command will simply copy the files of the template directory to your current directory.

tfstarter new -t <template_name>

Update the default templates list

To update the default templates list that is provided remotely, use :

tfstarter update

Dependencies

~13–31MB
~479K SLoC