{"id":18920067,"url":"https://github.com/gongo/tpdiff","last_synced_at":"2026-04-07T04:31:17.269Z","repository":{"id":136255356,"uuid":"67142219","full_name":"gongo/tpdiff","owner":"gongo","description":"Colorize 🎨 different attribute lines at execution result of `terraform plan`.","archived":false,"fork":false,"pushed_at":"2016-12-09T21:53:04.000Z","size":262,"stargazers_count":26,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T13:48:20.037Z","etag":null,"topics":["colorization","shell-script","terraform"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gongo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-09-01T15:12:57.000Z","updated_at":"2023-08-18T12:50:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"31c29752-61c1-43f5-998f-030222df71ca","html_url":"https://github.com/gongo/tpdiff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gongo/tpdiff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Ftpdiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Ftpdiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Ftpdiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Ftpdiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gongo","download_url":"https://codeload.github.com/gongo/tpdiff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Ftpdiff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31500397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["colorization","shell-script","terraform"],"created_at":"2024-11-08T10:42:20.343Z","updated_at":"2026-04-07T04:31:17.262Z","avatar_url":"https://github.com/gongo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"tpdiff\n==============================\n\n[![Build Status](https://travis-ci.org/gongo/tpdiff.svg?branch=master)](https://travis-ci.org/gongo/tpdiff)\n\nColorize different lines at execution result of [terraform plan](https://www.terraform.io/docs/commands/plan.html).\n\n![tpdiff](images/tpdiff.png)\n\nUSAGE\n------------------------------\n\n```\n$ terraform plan | tpdiff\n```\n\nor\n\n```\n$ terraform plan \u003e plan_result.txt\n$ # something to do\n$ tpdiff plan_result.txt\n```\n\n\nINSTALLATION\n------------------------------\n\n```\n$ curl -L https://raw.githubusercontent.com/gongo/tpdiff/master/tpdiff \u003e /usr/local/bin/tpdiff\n$ chmod +x /usr/local/bin/tpdiff\n```\n\nMOTIVATION\n------------------------------\n\nIt is hard to understand which attributes have been changed.\n\n```\n..\n.. (message)\n..\n\n+ aws_security_group.app\n    ingress.#:                   \"\" =\u003e \"1\"\n    ingress.0.cidr_blocks.#:     \"\" =\u003e \"1\"\n    ingress.0.cidr_blocks.0:     \"\" =\u003e \"192.0.2.0/24\"\n    ingress.0.from_port:         \"\" =\u003e \"80\"\n    ingress.0.protocol:          \"\" =\u003e \"tcp\"\n    ingress.0.to_port:           \"\" =\u003e \"80\"\n\n-/+ aws_security_group.db\n    ingress.#:                   \"2\" =\u003e \"2\"\n    ingress.0.cidr_blocks.#:     \"1\" =\u003e \"1\"\n    ingress.0.cidr_blocks.0:     \"198.51.100.0/24\" =\u003e \"198.51.100.0/24\"\n    ingress.0.from_port:         \"3306\" =\u003e \"3306\"\n    ingress.0.protocol:          \"6\" =\u003e \"tcp\"\n    ingress.0.to_port:           \"3306\" =\u003e \"3306\"\n    ingress.1.cidr_blocks.#:     \"\" =\u003e \"1\"\n    ingress.1.cidr_blocks.0:     \"\" =\u003e \"203.0.113.0/24\"\n    ingress.1.from_port:         \"\" =\u003e \"5432\"\n    ingress.1.protocol:          \"\" =\u003e \"tcp\"\n    ingress.1.to_port:           \"\" =\u003e \"5432\"\n\n-/+ aws_security_group.mail\n    ingress.#:                   \"2\" =\u003e \"1\"\n    ingress.0.cidr_blocks.#:     \"1\" =\u003e \"1\"\n    ingress.0.cidr_blocks.0:     \"198.51.100.0/24\" =\u003e \"198.51.100.0/24\"\n    ingress.0.from_port:         \"587\" =\u003e \"587\"\n    ingress.0.protocol:          \"6\" =\u003e \"tcp\"\n    ingress.0.to_port:           \"587\" =\u003e \"587\"\n    ingress.1.cidr_blocks.#:     \"1\" =\u003e \"\"\n    ingress.1.cidr_blocks.0:     \"198.51.100.0/24\" =\u003e \"\"\n    ingress.1.from_port:         \"995\" =\u003e \"\"\n    ingress.1.protocol:          \"6\" =\u003e \"\"\n    ingress.1.to_port:           \"995\" =\u003e \"\"\n\nApply complete! Resources: 1 added, 2 changed, 0 destroyed.\n```\n\nLICENSE\n------------------------------\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgongo%2Ftpdiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgongo%2Ftpdiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgongo%2Ftpdiff/lists"}