{"id":15176594,"url":"https://github.com/andresjz/tf-provider","last_synced_at":"2026-02-03T21:31:41.098Z","repository":{"id":57249030,"uuid":"455780421","full_name":"andresjz/tf-provider","owner":"andresjz","description":"Project scaffolding for Terraform made with yeoman","archived":false,"fork":false,"pushed_at":"2022-02-06T09:09:50.000Z","size":88,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-21T17:20:37.094Z","etag":null,"topics":["aws","checkov","devops-tools","go","lint","terraform","terratest"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/andresjz.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}},"created_at":"2022-02-05T05:05:14.000Z","updated_at":"2025-07-12T05:28:47.000Z","dependencies_parsed_at":"2022-08-24T16:22:22.720Z","dependency_job_id":null,"html_url":"https://github.com/andresjz/tf-provider","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andresjz/tf-provider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresjz%2Ftf-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresjz%2Ftf-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresjz%2Ftf-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresjz%2Ftf-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andresjz","download_url":"https://codeload.github.com/andresjz/tf-provider/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresjz%2Ftf-provider/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29058258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T20:13:53.544Z","status":"ssl_error","status_checked_at":"2026-02-03T20:13:40.507Z","response_time":96,"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":["aws","checkov","devops-tools","go","lint","terraform","terratest"],"created_at":"2024-09-27T13:21:38.355Z","updated_at":"2026-02-03T21:31:41.083Z","avatar_url":"https://github.com/andresjz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform Provider generator\n\nScaffolding / Boilerplate generator for new Terraform provider projects\n\nhttps://www.npmjs.com/package/generator-tfp\n\n### Features\n\n- `main.tf`, `variables.tf`,`outputs.tf` files to provider tf path\n\n- `test` using terratest\n\n- `.pre-commit-config.yaml` for `terraform fmt`, `terraform-docs`, `check-merge-conflict` and (`go fmt`, `golint`) / `rubocop`\n\n\n### Prerequisites\n\n- [terraform](https://learn.hashicorp.com/terraform/getting-started/install#installing-terraform) `pro tip: use tfenv`\n- [pre-commit](https://pre-commit.com/#install)\n- For tests\n  - **terratest**\n    - [golang](https://golang.org/doc/install#install) `pro tip: use gvm`\n    - [golint](https://github.com/golang/lint#installation)\n\n### Installation\n\n- To use generator using Docker, Install [Docker](https://docs.docker.com/engine/install/) `recommended`\n- To use generator using Nodejs, Install [nodejs](https://nodejs.org/en/download/) `pro tip: use nvm`\n\nOnce you have Node.js installed, then [install Yeoman](https://yeoman.io).\n\n```shell\nnpm install -g yo\n```\n\nNow you can install tfp.\n\n```shell\nnpm install -g tfp\n```\n\n**Note**: You can also clone the project from github, and then use `npm link` in the project's root directory. The link will make it so that the terraform project generator will act like you installed it using `npm install -g generator-tf-proj`.\n\n```shell\nnpm link\n```\n\n### Usage\n\nTo use the included generator execute the below command in shell and provide your answers to the prompts.\n\n##### With NodeJs\n\n```sh\nyo tfp\n```\n\n##### Prompts\n\n```sh\n...\n? Enter name for the new terraform provider :  example-provider\n? Enter description for the new terraform provider :  Example terraform provider\n? Enter author name :  author\n? Choose terraform version (Use arrow keys)\n❯ 1.1.5\n  1.1.4\n```\n\nProject layout generated for the new provider\n\n```\nexample-provider\n├── .editorconfig\n├── .gitattributes\n├── .gitignore\n├── .pre-commit-config.yaml\n├── README.md\n├── tf\n│   ├── .terraform-version\n│   ├── main.tf\n│   ├── outputs.tf\n│   ├── providers.tf\n│   └── variables.tf\n├── test\n    └── example_test.go\n```\n\n\n##### Post generation steps\n\nStep 1\n\nOn the generated provider's root path, Initialize git repository\n\n```sh\ngit init\n```\n\nStep 2\n\nOn the generated provider's root path, Install pre-commit hooks\n\n```sh\npre-commit install\n```\n\nStep 3 \n\nFor golang tests, get below libs (you can use the dockerized version)\n\n```sh\n\u003e go get github.com/gruntwork-io/terratest/modules/terraform\n\u003e go get github.com/stretchr/testify/assert\n```\n\n### Contribution\n\nFound a bug? feel free to raise an issue.  \nPull requests are always welcome. Keen to review and merge asap.\n\n### Maintainer\n\n\n### License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandresjz%2Ftf-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandresjz%2Ftf-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandresjz%2Ftf-provider/lists"}