{"id":15699857,"url":"https://github.com/tombuildsstuff/tfdev","last_synced_at":"2025-05-12T12:43:16.947Z","repository":{"id":142076192,"uuid":"331613533","full_name":"tombuildsstuff/tfdev","owner":"tombuildsstuff","description":"A tool to make Terraform Provider development easier on TF 0.14+","archived":false,"fork":false,"pushed_at":"2021-01-21T11:58:15.000Z","size":5,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T22:11:19.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/tombuildsstuff.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-01-21T11:57:50.000Z","updated_at":"2023-09-25T06:38:25.000Z","dependencies_parsed_at":"2023-07-09T05:31:53.690Z","dependency_job_id":null,"html_url":"https://github.com/tombuildsstuff/tfdev","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tombuildsstuff%2Ftfdev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tombuildsstuff%2Ftfdev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tombuildsstuff%2Ftfdev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tombuildsstuff%2Ftfdev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tombuildsstuff","download_url":"https://codeload.github.com/tombuildsstuff/tfdev/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253742483,"owners_count":21957028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-10-03T19:41:56.183Z","updated_at":"2025-05-12T12:43:16.927Z","avatar_url":"https://github.com/tombuildsstuff.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## tfdev\n\nA tool to make Terraform Provider development easier on Terraform 0.14+ - by templating the `providers.tf` to allow easier toggling between Development and Production binaries.\n\n### Usage\n\n```\n$ tfdev [PROVIDER] [MODE]\n```\n\n* Provider being the name of the Provider (e.g. `azurerm`, `aws`)\n* Mode being either `dev` (to use the dev override) or `prod` (to use the prod value)\n\n### Setup\n\nRun:\n\n```\ngo install github.com/tombuildsstuff/tfdev\n```\n\nAssuming the following `~/.terraformrc`:\n\n```\nprovider_installation {\n   dev_overrides {\n     \"tombuildsstuff/azurerm\" = \"/Users/tharvey/code/bin\"\n   }\n\n   # For all other providers, install them directly from their origin provider\n   # registries as normal. If you omit this, Terraform will _only_ use\n   # the dev_overrides block, and so no other providers will be available.\n   direct {}\n}\n```\n\nAdd a `.tfdev.hcl` file to your home directory:\n\n```\n$ cat ~/.tfdev.hcl\nprovider \"azurerm\" {\n  dev  = \"tombuildsstuff/azurerm\"\n  prod = \"hashicorp/azurerm\"\n}\n```\n\nAt which point running `tfdev azurerm dev` or `tfdev azurerm prod` will output a `providers.tf` containing the required Provider configuration:\n\n```\nterraform {\n  required_providers {\n    azurerm = {\n      source = \"tombuildsstuff/azurerm\"\n    }\n  }\n}\n```\n\n### Future Enhancements\n\n- Looking up the latest version of a given release and pinning to that, e.g. `1.x`\n\n### Licence\n\nApache 2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftombuildsstuff%2Ftfdev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftombuildsstuff%2Ftfdev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftombuildsstuff%2Ftfdev/lists"}