{"id":44332711,"url":"https://github.com/drone-plugins/drone-terraform-compliance","last_synced_at":"2026-02-11T10:30:48.395Z","repository":{"id":215462439,"uuid":"738979417","full_name":"drone-plugins/drone-terraform-compliance","owner":"drone-plugins","description":"drone-terraform-compliance","archived":false,"fork":false,"pushed_at":"2024-03-18T11:33:19.000Z","size":6,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-03-18T12:52:19.643Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/drone-plugins.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}},"created_at":"2024-01-04T13:49:17.000Z","updated_at":"2024-01-05T11:02:07.000Z","dependencies_parsed_at":"2024-01-09T12:29:41.289Z","dependency_job_id":null,"html_url":"https://github.com/drone-plugins/drone-terraform-compliance","commit_stats":null,"previous_names":["drone-plugins/drone-terraform-compliance"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drone-plugins/drone-terraform-compliance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone-plugins%2Fdrone-terraform-compliance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone-plugins%2Fdrone-terraform-compliance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone-plugins%2Fdrone-terraform-compliance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone-plugins%2Fdrone-terraform-compliance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drone-plugins","download_url":"https://codeload.github.com/drone-plugins/drone-terraform-compliance/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone-plugins%2Fdrone-terraform-compliance/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29332277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"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":"2026-02-11T10:30:48.252Z","updated_at":"2026-02-11T10:30:48.389Z","avatar_url":"https://github.com/drone-plugins.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# drone-terraform-compliance\n\nPlugin wrapper for https://terraform-compliance.com\n\n## Usage\n\n### Build the image\n\nNavigate to the Dockerfile directory and run the following command to build the Docker image:\n\n```\ndocker build -t \u003cimage_name\u003e .\n```\n\n### Setting up Environment\n\nEnsure that inside the Terraform files' directory, you have a Terraform plan file named `plan.out` and a directory named `features` containing compliance feature files. These feature files specify the conditions to be enforced during compliance checks.\n\n### Run the container\n\nNavigate to Terraform files' directory and execute the following command to run the Docker image and perform Terraform test:\n\n```\ndocker run -v $(pwd):/app \u003cimage_name\u003e\n```\n\nThis command mounts the current directory `($(pwd))` as `/app` inside the Docker container and runs compliance checks on that directory.\n\n### Environment Variable (optional)\n\nYou can set the `PLUGIN_ARGS` environment variable to provide additional flags or options when running the Terraform Compliance tool.\n\n```\nusage: docker run -v $(pwd):/app -e PLUGIN_ARGS='[options]' \u003cimage_name\u003e\n\noptions:\n  --help, -h                                             show this help message and exit   \n  --terraform [terraform_file], -t [terraform_file]      The absolute path to the terraform executable.\n  --features feature directory, -f feature director      Directory (or git repository with \"git:\" prefix) consists of BDD features\n  --planfile plan_file, -p plan_file                     Plan output file generated by Terraform\n  --quit-early, -q                                       Stops executing any more steps in a scenario on first failure.\n  --no-failure, -n                                       Skip all the tests that is failed, but giving proper failure message\n  --silent, -S                                           Do not output any scenarios, just write results or failures\n  --identity [ssh private key], -i [ssh private key]     SSH Private key that will be use on git authentication.\n  --debug, -d                                            Turns on debugging mode\n  --version, -v                                          show program's version number and exit\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrone-plugins%2Fdrone-terraform-compliance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrone-plugins%2Fdrone-terraform-compliance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrone-plugins%2Fdrone-terraform-compliance/lists"}