Skip to content

Wrapper to generate terraform code files per microservice requirements

License

Notifications You must be signed in to change notification settings

jamalshahverdiev/wrapter

Repository files navigation

Wrapter - A Terraform Wrapper in Go

Wrapter is a CLI tool to manage Terraform codes for the Microservices requirements. It simplifies and automates various Terraform tasks, including initialization, validation, formatting, and more.

Features

  • Initialization: Initialize the Terraform backend.
  • Documentation: Generate documentation for Terraform configurations.
  • Validation: Validate the Terraform configuration.
  • Linting: Run the linter for Terraform configurations.
  • Formatting: Format the Terraform code.
  • Lock Providers: Set providers lock.
  • Bootstrap Service: Bootstrap new or custom services.
  • Plan Generation: Generate a Terraform plan.

Installation

To install Wrapter, you need to have Go installed on your machine. Then, you can use the following command:

go get github.com/jamalshahverdiev/wrapter

Compile and move binary file to the PATH dir. We can use GVM to manage Go versions

gvm use go1.22.3
go build -o ./wrapter ./main.go && sudo mv wrapter /usr/local/bin

To activate completion, use the following command (In case of Zsh)

$ wrapter completion zsh > ~/.oh-my-zsh/completions/_wrapter.zsh

About

Wrapper to generate terraform code files per microservice requirements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published