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 |
#2062 in Command line utilities
63 downloads per month
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
~14–32MB
~463K SLoC