Terragen

GoReportCard Status GoDoc Tags Total Downloads

Backdrop

The idea of Terragen was born while reading and working on several other Terraform providers.

The initial version of the Terragen was just a one-time scaffold generator for Hashicorp Terraform, a custom provider with limited features.

While working on operators for Kubernetes, I bumped into frameworks such as Kubebuilder and operator-sdk.

The idea for the latest version of Terragen is derived from such frameworks.

Terragen

Terraform is one of the best tools available to automate infrastructure, and there is no procrastination in accepting this fact.

How about extending Terraform? It would be great when we tried solving complexity those are project-specific.
And Terraform offers the same feature in the form of a custom provider. How do I create one such provider? They have well-documented steps for it.

How about accelerating the development of such a custom provider with scaffolds? Terragen helps here.

It generates scaffolds for providers,resources, and data_sources that can ease the development of the custom provider.

Supports the addition of new scaffolds to data_sources resource for a specific Terraform provider as and when required.

Yes, Terraform has support for the scaffolding providers , but it does not support adding more scaffolds once we start development. But with Terragen we can generate the scaffolds even during active development.

Extending terraform would help in solving more complexities. Terragen generates defined templates to ease the creation of terraform custom provider which will help in extending terraform.

Project: https://github.com/nikhilsbhat/terragen