{"id":43088333,"url":"https://github.com/nikhilsbhat/terragen","last_synced_at":"2026-01-31T15:38:19.342Z","repository":{"id":53785081,"uuid":"231249215","full_name":"nikhilsbhat/terragen","owner":"nikhilsbhat","description":"Tool that helps to create the terraform custom provider by creating scaffolds.","archived":false,"fork":false,"pushed_at":"2023-12-18T23:46:49.000Z","size":7124,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T17:53:58.587Z","etag":null,"topics":["cloud","go-cli","golang","golang-cli","infrastructure","infrastructure-as-code","scaffold","terraform","terraform-custom-provider","terraform-provider","terragen"],"latest_commit_sha":null,"homepage":"https://nikhilsbhat.github.io/terragen","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nikhilsbhat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-01-01T18:20:06.000Z","updated_at":"2025-03-13T17:27:04.000Z","dependencies_parsed_at":"2022-08-30T08:31:17.893Z","dependency_job_id":"29c18552-2834-4b4b-be76-206bd910cd50","html_url":"https://github.com/nikhilsbhat/terragen","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/nikhilsbhat/terragen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilsbhat%2Fterragen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilsbhat%2Fterragen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilsbhat%2Fterragen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilsbhat%2Fterragen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikhilsbhat","download_url":"https://codeload.github.com/nikhilsbhat/terragen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilsbhat%2Fterragen/sbom","scorecard":{"id":687232,"data":{"date":"2025-08-11","repo":{"name":"github.com/nikhilsbhat/terragen","commit":"7cd53f9e2c790fbaa04908d09b4d7957e26f6767"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.5,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:2","Warn: containerImage not pinned by hash: Dockerfile:10: pin your Docker image by updating golang:1.21.1-alpine3.18 to golang:1.21.1-alpine3.18@sha256:1c9cc949513477766da12bfa80541c4f24957323b0ee00630a6ff4ccf334b75b","Warn: goCommand not pinned by hash: Dockerfile:4-8","Warn: goCommand not pinned by hash: Dockerfile:4-8","Warn: goCommand not pinned by hash: Dockerfile:4-8","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   3 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":1,"reason":"1 out of the last 5 releases have a total of 1 signed artifacts.","details":["Info: signed release artifact: terragen_0.7.0_SHA256SUMS.sig: https://github.com/nikhilsbhat/terragen/releases/tag/v0.7.0","Warn: release artifact v0.6.0 not signed: https://api.github.com/repos/nikhilsbhat/terragen/releases/76205440","Warn: release artifact v0.3.0 not signed: https://api.github.com/repos/nikhilsbhat/terragen/releases/44389516","Warn: release artifact v0.2.0 not signed: https://api.github.com/repos/nikhilsbhat/terragen/releases/39821356","Warn: release artifact v0.1.0 not signed: https://api.github.com/repos/nikhilsbhat/terragen/releases/39816836","Warn: release artifact v0.7.0 does not have provenance: https://api.github.com/repos/nikhilsbhat/terragen/releases/122305588","Warn: release artifact v0.6.0 does not have provenance: https://api.github.com/repos/nikhilsbhat/terragen/releases/76205440","Warn: release artifact v0.3.0 does not have provenance: https://api.github.com/repos/nikhilsbhat/terragen/releases/44389516","Warn: release artifact v0.2.0 does not have provenance: https://api.github.com/repos/nikhilsbhat/terragen/releases/39821356","Warn: release artifact v0.1.0 does not have provenance: https://api.github.com/repos/nikhilsbhat/terragen/releases/39816836"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2024-2456 / GHSA-449p-3h89-pw88","Warn: Project is vulnerable to: GO-2024-2466 / GHSA-mw99-9chc-xw7r","Warn: Project is vulnerable to: GO-2025-3367 / GHSA-r9px-m959-cxf4","Warn: Project is vulnerable to: GO-2025-3368 / GHSA-v725-9546-7q7m"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T01:14:35.538Z","repository_id":53785081,"created_at":"2025-08-22T01:14:35.538Z","updated_at":"2025-08-22T01:14:35.538Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28946780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T14:26:55.697Z","status":"ssl_error","status_checked_at":"2026-01-31T14:26:52.545Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["cloud","go-cli","golang","golang-cli","infrastructure","infrastructure-as-code","scaffold","terraform","terraform-custom-provider","terraform-provider","terragen"],"created_at":"2026-01-31T15:38:18.558Z","updated_at":"2026-01-31T15:38:19.337Z","avatar_url":"https://github.com/nikhilsbhat.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terragen\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/nikhilsbhat/terragen)](https://goreportcard.com/report/github.com/nikhilsbhat/terragen)\n[![shields](https://img.shields.io/badge/license-mit-brightgreen)](https://github.com/nikhilsbhat/terragen/blob/master/LICENSE)\n[![shields](https://godoc.org/github.com/nikhilsbhat/terragen?status.svg)](https://godoc.org/github.com/nikhilsbhat/terragen)\n[![shields](https://img.shields.io/github/v/tag/nikhilsbhat/terragen.svg)](https://github.com/nikhilsbhat/terragen/tags)\n[![shields](https://img.shields.io/github/downloads/nikhilsbhat/terragen/total.svg)](https://github.com/nikhilsbhat/terragen/releases)\n\nA utility to ease the development of [terraform](https://www.terraform.io/) custom provider by generating scaffolds for provider and their components.\n\n## Introduction\n\nTerraform is one of the best software available to automate infrastructure and no procrastination in accepting this fact.\u003cbr\u003e\u003cbr\u003e\nHow about extending Terraform?. It would be great when we try solving complexity that is project-specific, and Terraform offers the same feature in the form of a [custom provider](https://www.terraform.io/docs/extend/how-terraform-works.html). How to create one such provider? They have well [documented](https://www.terraform.io/docs/extend/writing-custom-providers.html) steps for it.\u003cbr\u003e\u003cbr\u003e\nHow about accelerating the development of such custom-provider with the scaffolds? `Terragen` helps here. It generates scaffolds for `provider`, `resources`, and `data_sources` that eases the development of the custom provider.\u003cbr\u003e\u003cbr\u003e\nSupports the addition of new scaffolds of `data_source` and `resource` for a specific Terraform `provider` as and when required.  \n## Requirements\n\n* [Go](https://golang.org/dl/) 1.19 or above . Installing go can be found [here](https://golang.org/doc/install).\n* Basic understanding of terraform provider and [building](https://www.terraform.io/docs/extend/writing-custom-providers.html) them.\n\n## Installation\n\n* Recommend installing released versions. Release binaries are available on the [releases](https://github.com/nikhilsbhat/terragen/releases) page.\n* Can always build it locally by running `go build` against cloned repo.\n\n## Features supported by the `Terragen` at the moment.\n\n|  component   |    create  |     edit     |  delete  |\n| :----------: | :--------: | :----------: | :------: |\n| `provider`   | yes        | yes (beta)   | no       |\n| `data_source`| yes        | yes (beta)   | no       |\n| `resource`   | yes        | yes (beta)   | no       |\n| `importer`   | no         | no           | no       |\n\n## Documentation\n\n* Document of `Terragen` on its usage is up [here](https://nikhilsbhat.github.io/terragen).\n* Updated documentation on all available commands and flags can be found [here](https://github.com/nikhilsbhat/terragen/blob/master/cli_docs/doc/terragen.md).\n\n## Installation\n\n* Recommend installing released versions. Release binaries are available on the [releases](https://github.com/nikhilsbhat/terragen/releases) page and docker from [here](https://hub.docker.com/repository/docker/basnik/terragen).\n* Can always build it locally by running `go build` against cloned repo.\n\n#### Docker\n\nLatest version of docker images are published to [ghcr.io](https://github.com/nikhilsbhat/terragen/pkgs/container/terragen), all available images can be found there. \u003c/br\u003e\n\n```bash\ndocker pull ghcr.io/nikhilsbhat/terragen:latest\ndocker pull ghcr.io/nikhilsbhat/terragen:\u003cgithub-release-tag\u003e\n```\n\n## TODO\n* [ ] Edit feature to cover more aspect.\n* [ ] Test cases.\n\n**Note** `terragen generate` just creates the templates not the whole provider.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhilsbhat%2Fterragen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikhilsbhat%2Fterragen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhilsbhat%2Fterragen/lists"}