{"id":20334896,"url":"https://github.com/mdb/terraform-opa-demo","last_synced_at":"2026-02-26T07:44:01.500Z","repository":{"id":137137982,"uuid":"365823708","full_name":"mdb/terraform-opa-demo","owner":"mdb","description":"A simple example showing automated Terraform plan analysis using the Open Policy Agent policy-as-code framework.","archived":false,"fork":false,"pushed_at":"2024-09-06T17:04:35.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-17T16:55:31.476Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/mdb.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":"2021-05-09T18:40:06.000Z","updated_at":"2024-09-06T17:04:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"d13fb2e0-bb24-41b3-b7b4-af89c557d176","html_url":"https://github.com/mdb/terraform-opa-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdb/terraform-opa-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fterraform-opa-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fterraform-opa-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fterraform-opa-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fterraform-opa-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdb","download_url":"https://codeload.github.com/mdb/terraform-opa-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fterraform-opa-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29851728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"online","status_checked_at":"2026-02-26T02:00:06.774Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-11-14T20:38:30.804Z","updated_at":"2026-02-26T07:44:01.485Z","avatar_url":"https://github.com/mdb.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Terraform](https://github.com/mdb/terraform-opa-demo/actions/workflows/main.yml/badge.svg)](https://github.com/mdb/terraform-opa-demo/actions/workflows/main.yml)\n\n# terraform-opa-demo\n\nA relatively simple and largely contrived example showing automated Terraform\nplan analysis using the [Open Policy Agent](https://www.openpolicyagent.org/)\npolicy-as-code framework.\n\n## Usage\n\n`terraform-opa-demo` assumes you're running [Docker](https://www.docker.com/).\n\nExecute a `terraform plan` (see the `Makefile` for details):\n\n```\nmake tf-plan\n```\n\nRun tests verifying the correctness of the `policy.rego` file and evaluate the\nTerraform plan JSON using the expressed policy (see the `Makefile` for details):\n\n```\nmake opa-eval\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdb%2Fterraform-opa-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdb%2Fterraform-opa-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdb%2Fterraform-opa-demo/lists"}