{"id":22571267,"url":"https://github.com/edsoncelio/digger-demo","last_synced_at":"2026-03-19T23:10:21.347Z","repository":{"id":173781579,"uuid":"651273627","full_name":"edsoncelio/digger-demo","owner":"edsoncelio","description":"Demo with https://digger.dev/","archived":false,"fork":false,"pushed_at":"2023-06-20T18:28:57.000Z","size":24,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T15:36:48.704Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","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/edsoncelio.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-08T22:24:48.000Z","updated_at":"2023-06-08T23:15:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"c291033c-053d-404a-98c4-d1d9eccc9f03","html_url":"https://github.com/edsoncelio/digger-demo","commit_stats":null,"previous_names":["edsoncelio/digger-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/edsoncelio/digger-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsoncelio%2Fdigger-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsoncelio%2Fdigger-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsoncelio%2Fdigger-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsoncelio%2Fdigger-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edsoncelio","download_url":"https://codeload.github.com/edsoncelio/digger-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsoncelio%2Fdigger-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29443490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T10:51:12.367Z","status":"ssl_error","status_checked_at":"2026-02-14T10:50:52.088Z","response_time":53,"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":[],"created_at":"2024-12-08T01:16:03.564Z","updated_at":"2026-02-14T12:36:17.929Z","avatar_url":"https://github.com/edsoncelio.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# digger-demo\nDemo for https://digger.dev/\n\n## Requirements to run\n* Change workflow permissions (at repo settings -\u003e actions) to \"Read and Write Permissions\"\n* Add the following variables to the action secrets:\n    * AWS_ACCESS_KEY_ID: aws access key\n    * AWS_SECRET_ACCESS_KEY: aws secret key\n    * INFRACOST_API_KEY: infracost api key\n\n## How it works\n\nThis repo contains the following structure:\n```\n.\n├── README.md\n├── digger.yml\n└── projects\n    ├── prod\n    │   ├── backend.tf\n    │   └── main.tf\n    └── staging\n        ├── backend.tf\n        └── main.tf\n```\n\nWhen,   \n* `projects`: dir with environments (`staging`, `prod`)   \n* `digger.yml`: config file for digger  \n\n## digger.yml configs\nFor this demo, there's a customized workflow called `staging_workflow` that will run for each PR in `projects/sandbox`:\n* init\n* validate\n* fmt\n* tfsec checks\n* infracost checks (and post a comment and edit for each change)\n\n## Examples\n\n* To plan the project `projects/sandbox` in a PR:   \n`digger plan -p staging`\n\n* To apply:\n`digger apply -p staging`\n\n### infracost comment\n\u003cimg width=\"910\" alt=\"image\" src=\"https://github.com/edsoncelio/digger-demo/assets/5833278/71a5c9fc-3db6-41c5-92a9-36ef8c17c291\"\u003e\n\n### tfsec report\n\u003cimg width=\"890\" alt=\"image\" src=\"https://github.com/edsoncelio/digger-demo/assets/5833278/d7776260-42e5-48eb-8522-e883b13a4508\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedsoncelio%2Fdigger-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedsoncelio%2Fdigger-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedsoncelio%2Fdigger-demo/lists"}