{"id":13819755,"url":"https://github.com/jeff-knurek/tfarbe","last_synced_at":"2026-03-10T13:33:36.438Z","repository":{"id":216966564,"uuid":"297287119","full_name":"jeff-knurek/tfarbe","owner":"jeff-knurek","description":"add color to Terraform 12/13 plan output, also format it for markdown diff","archived":false,"fork":false,"pushed_at":"2022-08-08T13:04:06.000Z","size":380,"stargazers_count":22,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-07T01:35:26.405Z","etag":null,"topics":["color","go","hacktoberfest","terraform"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeff-knurek.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-21T09:10:51.000Z","updated_at":"2024-06-23T06:57:30.000Z","dependencies_parsed_at":"2024-02-02T02:00:36.216Z","dependency_job_id":null,"html_url":"https://github.com/jeff-knurek/tfarbe","commit_stats":null,"previous_names":["jeff-knurek/tfarbe"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jeff-knurek/tfarbe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-knurek%2Ftfarbe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-knurek%2Ftfarbe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-knurek%2Ftfarbe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-knurek%2Ftfarbe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeff-knurek","download_url":"https://codeload.github.com/jeff-knurek/tfarbe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-knurek%2Ftfarbe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30334676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T12:41:07.687Z","status":"ssl_error","status_checked_at":"2026-03-10T12:41:06.728Z","response_time":106,"last_error":"SSL_read: 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":["color","go","hacktoberfest","terraform"],"created_at":"2024-08-04T08:00:52.585Z","updated_at":"2026-03-10T13:33:36.414Z","avatar_url":"https://github.com/jeff-knurek.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# tfarbe\nAdd color to Terraform 12 plan output.\n\nInspired from: https://github.com/coinbase/terraform-landscape\n\n**NOTE**: if you're using terraform v11, tfarbe will not help and you should use `terraform-landscape`.\n\n### Example of output\n\n\u003cimg src=\"./example/screenshot.png\" width=\"65%\" alt=\"Improved Terraform plan output\" /\u003e\n\nAlso formats the ouput for markdown diff.\n\nFor example, this:\n```\n  # module.apps.kubernetes_deployment.deployment is tainted, so must be replaced\n-/+ resource \"kubernetes_deployment\" \"deployment\" {\n      ~ id               = \"some-app\" -\u003e (known after apply)\n        wait_for_rollout = true\n\n              ~ spec {\n                  - active_deadline_seconds          = 0 -\u003e null\n                  - automount_service_account_token  = false -\u003e null\n                    dns_policy                       = \"ClusterFirst\"\n                    host_ipc                         = false\n                    host_network                     = false\n                    host_pid                         = false\n                  + hostname                         = (known after apply)\n                  + node_name                        = (known after apply)\n                    restart_policy                   = \"Always\"\n                  + service_account_name             = (known after apply)\n```\n\nbecomes:\n\n```diff\n# module.apps.kubernetes_deployment.deployment is tainted, so must be replaced\n-/+ resource \"kubernetes_deployment\" \"deployment\" {\n~       id               = \"some-app\" -\u003e (known after apply)\n        wait_for_rollout = true\n\n~               spec {\n-                   active_deadline_seconds          = 0 -\u003e null\n-                   automount_service_account_token  = false -\u003e null\n                    dns_policy                       = \"ClusterFirst\"\n                    host_ipc                         = false\n                    host_network                     = false\n                    host_pid                         = false\n+                   hostname                         = (known after apply)\n+                   node_name                        = (known after apply)\n                    restart_policy                   = \"Always\"\n+                   service_account_name             = (known after apply)\n```\n\n## Install\n\nBinaries (should) be available on the [Release page](https://github.com/jeff-knurek/tfarbe/releases/) for both Linux and Mac. You can simple copy one of these binaries to your PATH.\n\n## Usage\n\n```\nterraform plan ... | tfarbe\n```\n\n### with Docker\n\n```\ngit clone https://github.com/jeff-knurek/tfarbe.git\ncd tfarbe\ndocker build . -t tfarbe\n....\nterraform plan ... | docker run -i --rm tfarbe\n```\n\n### Helpful bash addition\n\nAdd this to your `.bash_profile`/`.bashrc`/`...` accordingly\n\n```\nterraform() {\n    if [[ $1 == \"plan\" ]]; then\n        command terraform \"$@\" | docker run --rm -i tfarbe\n    else\n        command terraform \"$@\"\n    fi\n}\n```\n\n## License\n\nThis project is released under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeff-knurek%2Ftfarbe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeff-knurek%2Ftfarbe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeff-knurek%2Ftfarbe/lists"}