{"id":37113968,"url":"https://github.com/dainer88/infratoolbox","last_synced_at":"2026-01-14T13:25:43.455Z","repository":{"id":283724289,"uuid":"771317612","full_name":"dainer88/infratoolbox","owner":"dainer88","description":"A unified CLI tool that integrates Terraform, Terraform Docs, TFEnv, TFLint, and Checkov to streamline infrastructure management. Simplify your infrastructure-as-code workflow with a single command-line interface that combines multiple essential tools.","archived":false,"fork":false,"pushed_at":"2025-03-21T20:17:53.000Z","size":71,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T20:20:05.936Z","etag":null,"topics":["cli","cli-tools","devops","devops-tools","infrastructure","infrastructure-as-code","infrastructure-management","terraform"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dainer88.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-13T04:30:56.000Z","updated_at":"2025-03-21T20:16:50.000Z","dependencies_parsed_at":"2025-03-21T20:31:31.210Z","dependency_job_id":null,"html_url":"https://github.com/dainer88/infratoolbox","commit_stats":null,"previous_names":["dainer88/infratoolbox"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dainer88/infratoolbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dainer88%2Finfratoolbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dainer88%2Finfratoolbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dainer88%2Finfratoolbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dainer88%2Finfratoolbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dainer88","download_url":"https://codeload.github.com/dainer88/infratoolbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dainer88%2Finfratoolbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28421172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","cli-tools","devops","devops-tools","infrastructure","infrastructure-as-code","infrastructure-management","terraform"],"created_at":"2026-01-14T13:25:42.704Z","updated_at":"2026-01-14T13:25:43.434Z","avatar_url":"https://github.com/dainer88.png","language":"Go","readme":"# InfraToolbox\r\n\r\nInfraToolbox is a CLI tool for managing infrastructure as code, integrating support for Terraform, Terragrunt, and pre-built modules for cloud services.\r\n\r\n## Features\r\n\r\n- Run Terraform and Terragrunt commands seamlessly.\r\n- Merge multiple Terraform configuration files into a single file.\r\n- Lint Terraform code using TFLint.\r\n- Scan infrastructure for security vulnerabilities using Checkov.\r\n- Generate Terraform documentation using `terraform-docs`.\r\n- Auto-completion support for Bash, Zsh, Fish, and PowerShell.\r\n- Easy to use and extensible.\r\n\r\n## Quick Installation\r\n\r\n### Using Go\r\n\r\n```bash\r\ngo install github.com/yourusername/infratoolbox@latest\r\n```\r\n\r\n### From Source Code\r\n\r\n```bash\r\ngit clone https://github.com/yourusername/infratoolbox.git\r\ncd infratoolbox\r\ngo build -o infratoolbox\r\n```\r\n\r\n## Basic Usage\r\n\r\n```bash\r\n# Run a Terraform command\r\ninfratoolbox terraform init\r\n\r\n# Merge multiple Terraform files\r\ninfratoolbox merge file1.tf file2.tf --output merged.tf\r\n```\r\n\r\n## Documentation\r\n\r\n- [Installation Guide](docs/installation.md)\r\n- [Advanced Use Cases](docs/advanced-usage.md)\r\n- [Troubleshooting](docs/troubleshooting.md)\r\n- [Contributing to the Project](docs/contributing.md)\r\n\r\n## Installation\r\n\r\n### Using Homebrew\r\n\r\n```bash\r\nbrew tap yourusername/infratoolbox https://github.com/yourusername/infratoolbox\r\nbrew install infratoolbox\r\n```\r\n\r\n## Auto-completion\r\n\r\nInfraToolbox automatically sets up shell auto-completion during installation for the following shells:\r\n\r\n- **Bash**: The completion script is installed in `/etc/bash_completion.d/`.\r\n- **Zsh**: The completion script is installed in the Zsh functions directory.\r\n- **Fish**: The completion script is installed in `~/.config/fish/completions/`.\r\n- **PowerShell**: The completion script is generated in `$HOME/infratoolbox.ps1`.\r\n\r\n### Enabling Auto-completion\r\n\r\n- **Bash**: Ensure that Bash completion is enabled on your system.\r\n- **Zsh**: Ensure that `autoload -U compinit; compinit` is added to your `~/.zshrc`.\r\n- **Fish**: No additional steps are required.\r\n- **PowerShell**: Add the following line to your PowerShell profile:\r\n\r\n  ```powershell\r\n  . $HOME/infratoolbox.ps1\r\n  ```\r\n\r\n## Usage\r\n\r\nInfraToolbox is designed to manage infrastructure efficiently. You can run any of the following commands:\r\n\r\n```bash\r\ninfratoolbox [command]\r\n```\r\n\r\n### Available Commands\r\n\r\n| Command     | Description                                                     |\r\n|-------------|-----------------------------------------------------------------|\r\n| `apply`     | Run `terraform apply`                                           |\r\n| `doc`       | Generate Terraform documentation using `terraform-docs`         |\r\n| `env`       | Run `terraform env`                                             |\r\n| `init`      | Run `terraform init`                                            |\r\n| `license`   | Show the license under which InfraToolbox is distributed        |\r\n| `lint`      | Run TFLint to lint Terraform code                               |\r\n| `merge`     | Merge multiple Terraform configuration files                    |\r\n| `module`    | Create a new Terraform module template                          |\r\n| `plan`      | Run `terraform plan`                                            |\r\n| `scan`      | Run Checkov to scan infrastructure for security vulnerabilities |\r\n| `terragrunt`| Run Terragrunt commands                                         |\r\n| `validate`  | Validate Terraform configuration                                |\r\n\r\n## Compiling the Project\r\n\r\nTo compile InfraToolbox from source, follow these steps:\r\n\r\n1. **Clone the repository:**\r\n\r\n    ```bash\r\n    git clone https://github.com/yourusername/infratoolbox.git\r\n    ```\r\n\r\n2. Navigate to the project directory:\r\n\r\n    ```bash\r\n    cd infratoolbox\r\n    ```\r\n\r\n3. Compile the project:\r\n\r\n    ```bash\r\n    go mod init github.com/yourusername/infratoolbox\r\n    go mod tidy\r\n    go build\r\n    ```\r\n\r\n    This command will compile the project and generate an executable file.\r\n\r\n4. Run the executable:\r\n\r\n    After building, you can run InfraToolbox directly from the command line. For example:\r\n\r\n    ```bash\r\n    ./infratoolbox [command]\r\n    ```\r\n\r\n    Replace `[command]` with one of the available commands listed in the Usage section.\r\n\r\n5. Optional: Install the executable:\r\n\r\n    If you want to install the executable globally on your system, you can run:\r\n\r\n    ```bash\r\n    go install\r\n    ```\r\n\r\n    This will place the `infratoolbox` executable in your Go binaries directory, typically `$GOPATH/bin` or `$HOME/go/bin`.\r\n\r\n## Contributing\r\n\r\nContributions are welcome! To contribute:\r\n\r\n1. Fork the repository.\r\n2. Create a new branch for your feature or bug fix.\r\n3. Submit a pull request with a clear description of the changes.\r\n\r\n## Acknowledgements\r\n\r\nInfraToolbox utilizes the following open-source tools:\r\n\r\n- [Terraform](https://www.terraform.io)\r\n- [Terraform Docs](https://terraform-docs.io)\r\n- [TFEnv](https://github.com/tfutils/tfenv)\r\n- [TFLint](https://github.com/terraform-linters/tflint)\r\n- [Checkov](https://www.checkov.io)\r\n- [Terragrunt](https://terragrunt.gruntwork.io)\r\n\r\n## Roadmap\r\n\r\n[![Roadmap](https://img.shields.io/badge/Roadmap-View%20here-blue)](./ROADMAP.md)\r\n\r\n## License\r\n\r\n[![License](https://img.shields.io/badge/License-Apache%202.0-default.svg)](./LICENSE)\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdainer88%2Finfratoolbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdainer88%2Finfratoolbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdainer88%2Finfratoolbox/lists"}