{"id":13505858,"url":"https://github.com/sirrend/terrap-cli","last_synced_at":"2025-10-24T12:30:43.135Z","repository":{"id":161439019,"uuid":"617665063","full_name":"sirrend/terrap-cli","owner":"sirrend","description":"Terrap - a powerful CLI tool that scans your infrastructure and identifies any required changes.","archived":false,"fork":false,"pushed_at":"2023-12-05T10:17:41.000Z","size":5289,"stargazers_count":67,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-31T01:07:35.551Z","etag":null,"topics":["aws","ci","cli","cli-tools","cloud","devops","devops-tools","gcp","github","hashicorp-terraform","iac","infrastracture","maintanance","providers","terraform","upgrades"],"latest_commit_sha":null,"homepage":"https://www.sirrend.com/terrap-docs","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/sirrend.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-03-22T21:17:33.000Z","updated_at":"2024-12-17T13:43:54.000Z","dependencies_parsed_at":"2023-12-04T20:51:44.272Z","dependency_job_id":"62446fc8-eb3e-4ced-9840-33f99b9ede55","html_url":"https://github.com/sirrend/terrap-cli","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirrend%2Fterrap-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirrend%2Fterrap-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirrend%2Fterrap-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirrend%2Fterrap-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sirrend","download_url":"https://codeload.github.com/sirrend/terrap-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237964472,"owners_count":19394406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["aws","ci","cli","cli-tools","cloud","devops","devops-tools","gcp","github","hashicorp-terraform","iac","infrastracture","maintanance","providers","terraform","upgrades"],"created_at":"2024-08-01T00:01:15.575Z","updated_at":"2025-10-24T12:30:42.763Z","avatar_url":"https://github.com/sirrend.png","language":"Go","readme":"# Terrap, by Sirrend\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)  ![GitHub go.mod Go version (subdirectory of monorepo)](https://img.shields.io/github/go-mod/go-version/sirrend/terrap-cli?filename=go.mod)\u003c/br\u003e\n\u003cimg src=\"./docs/terrap-cover.png\"/\u003e\n\u003c/br\u003e\u003c/br\u003e\nSimplify your Provider version upgrades with **Terrap** - a powerful CLI tool that scans your system and identifies any required changes. \u003c/br\u003e\nThe tool offers clear and actionable notifications, helping you streamline the upgrade process and avoid any potential errors or complications.\u003c/br\u003e\u003c/br\u003e\n🔍 **Terrap is an alpha version project, therefore some data might be partial.**\n\n## Resources\n* Documentation - \u003ca href=\"https://www.sirrend.com/terrap-docs\"\u003esirrend.com/terrap-docs\u003c/a\u003e\n\n## Constraints 🧱\n1. Supported Terraform Core versions: `\u003e=0.13`.\n2. Every provider which uses `Terraform Core 0.13` or higher.\n\n## Good To Know 💡\nTerrap decides which Terraform version to use in the following order:\n1. The latest installed Terraform version found locally.\n2. If the `TERRAP_TERRAFORM_VERSION` environment variable is set, Terrap will use the version specified as long as it matches the `\u003e=0.13` constraint.\u003c/br\u003e\n    Set environment variable on mac/linux:\u003c/br\u003e\n    ```shell\n   export \u003cvar\u003e=\u003cvalue\u003e\n   ```\n   Set environment variable on windows:\u003c/br\u003e\n    ```shell\n   $Env:TERRAP_TERRAFORM_VERSION = \"0.13\"\n   ```\n   \n4. If none of the above is applicable, Terrap will download the latest available version.\n\n## How to Download ⬇️\n### Clone sirrend/terrap-cli\n```shell\ngit clone https://github.com/sirrend/terrap-cli\ncd terrap-cli\n\ngo build -o terrap .\n\nchmod +x terrap\nmv terrap /usr/local/bin/\n```\n\n### Brew\n```shell\nbrew tap sirrend/products\nbrew install terrap\n```\n\nValidate terrap is working by executing `terrap`.\n\n## Quick Start ⏩\n\n### Initialize my First Workspace\n1. `CD` to the local Terraform folder you want to work with.\u003c/br\u003e\n   `cd \u003c /terraform/folder/path \u003e`\u003c/br\u003e\u003c/br\u003e\n\n2. Initialize a new Terrap workspace where you would run terraform apply with `terrap init`.\u003c/br\u003e\u003c/br\u003e\n    \u003cstrong\u003eImportant!\u003c/strong\u003e \u003c/br\u003e\n    As Terrap runs \u003ccode\u003eterraform init\u003c/code\u003e under the hood, it would need every configuration component you normally use when executing the command.\u003c/br\u003e\n    It can be environment variables, the \u003ccode\u003e.aws/credentials\u003c/code\u003e file, etc.\n\n\n3. Scan your workspace with: `terrap scan`\n\nhttps://user-images.githubusercontent.com/47568615/236044850-3473952a-4169-4d63-beb7-cf1664afc35a.mov\n\n## Features 🚀\n### Scan for changes with `scan`\nScan your infrastructure for changes in the following provider version for a safe and easy upgrade!\u003c/br\u003e\nLooking for a specific resource type changes? Use the `--data-sources` `--resources` and `--provider` flags.\n\n### Stay up-to-date with `whats-new`\nReady to explore what's new in the following version of your provider? Simply execute `terrap whats-new`.\u003c/br\u003e\nLooking to delve into a specific version of your provider? Specify the desired version with `--fixed-providers \u003cprovider\u003e:\u003cversion\u003e` to explore what's new and improved.\n\n### Which Providers are Supported?\nRun `terrap providers get-supported` to get a list of all supported providers and version ranges.\u003c/br\u003e\nYou can use the `--filter` flag if you're looking for something specific.\n\n\n## What's the Future Hold 🔮\n1. Bulk updates - straight to a version of your choosing.\n2. Automatic Upgrades - you write, **Terrap** upgrades.\n3. Expanding Terrap's providers support.\n\n## Something's Wrong? Tell Us! 🚨\nYou can open an issue either directly from the CLI using `terrap open-issue` or through the GitHub UI.\n\n## Want to contribute? 🍀 Lucky us!\n1. Checkout from the `main` branch.\n2. Add your code with the proper documentation.\n3. Open a PR with a detailed explanation of the functionality you want to add.\n\n\n","funding_links":[],"categories":["Tools"],"sub_categories":["Community providers"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsirrend%2Fterrap-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsirrend%2Fterrap-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsirrend%2Fterrap-cli/lists"}