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.
- 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.
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
$ wrapter completion zsh > ~/.oh-my-zsh/completions/_wrapter.zsh