Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

g14a/tf

Open more actions menu

Repository files navigation

Tf

Tf is a command line tool to easily generate your Terraform configuration with an interactive prompt.

OpenSource go cli

Go Report Card Go Workflow Status CodeQL

Inspiration

Boredom in Covid-19

Installation

  • go get github.com/g14a/tf
  • Or clone the master branch and run go install in the root directory.

Features

  • Provider and resource support.
  • Boilerplate code without having to go to the official docs.
  • In place documentation of fields.
  • Custom Terraform validators for int,bool,string,tags
  • Currently supports AWS EC2, S3, RDS, ELB, Lambda, VPC
  • Less development overhead(I guess 😊)

asciicast

Fetching Boilerplate code for a resource

  1. Search through the resources for a given provider
tf resource -p <provider> -b
  1. Directly provide the resource as well
tf resource -p <provider> -r <resource-in-the-provider> -b

asciicast

Stability

This is a highly work in progress project, but I do my best to keep it stable so that things don't break. Please report issues if you find this tool useful and I will try to make time to resolve them.

Contribution

Please check CONTRIBUTION.md

Roadmap

  • Google and Azure
  • Repeatable configuration

About

A CLI Tool to easily generate your Terraform configuration

Topics

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.