tfstarter

Crates.iotfstarter
lib.rstfstarter
version0.5.1
sourcesrc
created_at2024-01-26 22:10:49.695817
updated_at2024-02-01 14:38:24.671705
descriptionA tool to store terraform project templates and copy then on the fly
homepagehttps://github.com/Donovan1905/tfstarter
repositoryhttps://github.com/Donovan1905/tfstarter
max_upload_size
id1115950
size78,948
Donovan Hoang (Donovan1905)

documentation

README

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
Commit count: 0

cargo fmt