{"id":26823930,"url":"https://github.com/woodprogrammer/haydarctl","last_synced_at":"2025-04-28T11:44:57.124Z","repository":{"id":43310780,"uuid":"443631565","full_name":"WoodProgrammer/haydarctl","owner":"WoodProgrammer","description":"Configuration drift checker with real resources","archived":false,"fork":false,"pushed_at":"2022-03-08T21:34:46.000Z","size":327,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-08-06T16:56:35.088Z","etag":null,"topics":["iac","python","python3","terraform","terragrunt"],"latest_commit_sha":null,"homepage":"","language":"Python","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/WoodProgrammer.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}},"created_at":"2022-01-01T21:59:02.000Z","updated_at":"2023-08-06T16:56:35.089Z","dependencies_parsed_at":"2022-08-27T14:38:45.560Z","dependency_job_id":null,"html_url":"https://github.com/WoodProgrammer/haydarctl","commit_stats":null,"previous_names":[],"tags_count":3,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WoodProgrammer%2Fhaydarctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WoodProgrammer%2Fhaydarctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WoodProgrammer%2Fhaydarctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WoodProgrammer%2Fhaydarctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WoodProgrammer","download_url":"https://codeload.github.com/WoodProgrammer/haydarctl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246296578,"owners_count":20754635,"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":["iac","python","python3","terraform","terragrunt"],"created_at":"2025-03-30T09:17:11.946Z","updated_at":"2025-03-30T09:17:12.474Z","avatar_url":"https://github.com/WoodProgrammer.png","language":"Python","readme":"\u003ch1 align=\"center\"\u003e haydarctl [DEMO] \u003c/h1\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"300\" height=\"300\" src=\"./img/logo.png\"\u003e\u003c/img\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\nThe config drift checker with terragrunt states to detect manual changes on your infra out of the as-code stack.\n\u003c/p\u003e\n\n# Why haydarctl ? \n\nIn IAC universe we can seperate drift problem in two main part.\u003ca href=\"https://github.com/snyk/driftctl/\"\u003eResource\u003c/a\u003e and Configuration drifts.\n\nAccording to the daily support cases or less privileged user access or bypassed manual changes from the terraform code blocks that can cause configurational drifts.\n\nIn this example diagram at day-0 teams create their own resource on AWS.After that some of the manual changes and non-imported resources can make your code blocks too far away from the desired state of the terraform.\n\nTo check your state and code block compability in specified time periods you can use the haydarctl.\n\n## How it works ?\n\nHaydarctl needs two important thing;\n\n* python3\n* terragrunt\n\nAfter you installed them you can start to run it.\n\nHaydarctl get the directory address from command line and you can run this any directory address you want.\n\n## Installation\n\n```sh\n\n  git clone git@github.com:WoodProgrammer/haydarctl.git\n  pip3 install --upgrade ./haydarctl\n\n```\nTo verify the installation run this command\n\n```sh\n    haydarctl --help\n    haydarctl --output fix --workspace infra_repository\n    \n        __  __                        __                          __     __\n   / / / /  ____ _   __  __  ____/ /  ____ _   _____  _____  / /_   / /\n  / /_/ /  / __ `/  / / / / / __  /  / __ `/  / ___/ / ___/ / __/  / /\n / __  /  / /_/ /  / /_/ / / /_/ /  / /_/ /  / /    / /__  / /_   / /\n/_/ /_/   \\__,_/   \\__, /  \\__,_/   \\__,_/  /_/     \\___/  \\__/  /_/\n                  /____/\n\n    This tools compares Terraform state and Real Resources and it generates a output file for you\n    Caveats: This tool is not stable yet and your feedbacks are very important for us please do not hesiate to create Issue\u0026Pr on Github.\n    \n \n    \n```\n\n## Documentation\n\u003ca href=\"https://emirozbirdeveloper.medium.com/configuration-drifts-and-ha-dd55132b2132\"\u003eConfiguration Drifts and Haydarctl\u003c/a\u003e\n## Usage\n\nYou can check this video\n\nhaydarctl start to fetch github repositories and checks the each terragrunt modules and compares the states built-in terragrunt commands and generates drift templates.To see the examples you can check the \u003cb\u003eissues\u003c/b\u003e directory.\n\n\n## Respect to ; \n\n\u003ci\u003eHaydar Haydar - Neşet Ertaş\u003c/i\u003e\n\n[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/YnKI_7WY3nE/0.jpg)](https://www.youtube.com/watch?v=YnKI_7WY3nE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoodprogrammer%2Fhaydarctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwoodprogrammer%2Fhaydarctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoodprogrammer%2Fhaydarctl/lists"}