{"id":16927183,"url":"https://github.com/dirien/tfu","last_synced_at":"2025-07-16T04:04:17.741Z","repository":{"id":37205482,"uuid":"388686262","full_name":"dirien/tfu","owner":"dirien","description":"tfu is a terraform helper to update the providers.","archived":true,"fork":false,"pushed_at":"2024-06-19T12:54:58.000Z","size":424,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-15T06:15:53.437Z","etag":null,"topics":["iac","infrastructure-as-code","terraform"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dirien.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-23T05:20:51.000Z","updated_at":"2025-04-09T10:19:00.000Z","dependencies_parsed_at":"2023-02-15T03:30:50.345Z","dependency_job_id":"463629ad-d31b-4b1b-8c4f-236369e98789","html_url":"https://github.com/dirien/tfu","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/dirien/tfu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirien%2Ftfu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirien%2Ftfu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirien%2Ftfu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirien%2Ftfu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dirien","download_url":"https://codeload.github.com/dirien/tfu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirien%2Ftfu/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265480496,"owners_count":23773741,"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":["iac","infrastructure-as-code","terraform"],"created_at":"2024-10-13T20:33:15.146Z","updated_at":"2025-07-16T04:04:17.469Z","avatar_url":"https://github.com/dirien.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![codecov](https://codecov.io/gh/dirien/tfu/branch/main/graph/badge.svg?token=ZPXEUC4NFQ)](https://codecov.io/gh/dirien/tfu)\n![Terraform](https://img.shields.io/badge/Terraform-7B42BC?style=for-the-badge\u0026logo=terraform\u0026logoColor=white)\n[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/dirien/tfu/badge?style=for-the-badge)](https://api.securityscorecards.dev/projects/github.com/dirien/tfu)\n\n\n# tfu (speak 'TF-up')\n\n`tfu` is a Terraform helper to update the providers of [Terraform](https://registry.terraform.io/browse/providers)\n\nWorks only starting from version Terraform 0.13+\n\n_Nothing more nothing less._\n\n## Why? 🤷\n\nAfter a Terraform session with [Nico Meisenzahl](https://github.com/nmeisenzahl), we thought about a way to\nautomatically update the different provisioner.\n\nRight now you need to call the [Terraform Registry](https://registry.terraform.io/) website and look them up. That is so\ntime-consuming. This was moment the idea 💡 `tfu` for was born.\n\n### TL;DR 🚀\n\nInstall via homebrew:\n\n```bash\nbrew tap dirien/homebrew-dirien\nbrew install tfu\n```\n\nLinux or Windows user, can directly download (or use `curl`/`wget`) the binary via\nthe [release page](https://github.com/dirien/tfu/releases).\n\n### Usage ⚙\n\nSo simple that downloading the cli will take you longer!\n\n#### GitHub Token\n\n`tfu` supports private modules hosted on github. To not run into a rate limit:\n\n```\n403 API rate limit exceeded for xxxxx. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) [rate reset in 16m17s]\n```\n\nPlease set the env variable:\n\n```\nexport GIT_TOKEN=xxx\n```\n\nFor more details on module sources -\u003e https://www.terraform.io/docs/language/modules/sources.html#github\n\nFor directory:\n\n```bash\ntfu update -d \u003cdirectory\u003e [--dry-run]\n```\n\nFor a single file\n\n```bash\ntfu update -f \u003cpath to file\u003e [--dry-run]\n```\n\nExample:\n\n```bash\ntfu update -d /Users/dirien/Tools/repos/stackit-minecraft/\n\n🔎 Start scanning for TF providers...  ⢿ \n🎉 Scanning finished...   \n\n   FILE   |                                          PROVIDER (P) / MODULE (M)                                          | USED VERSION | LATEST VERSION | UPDATABLE  \n----------+-------------------------------------------------------------------------------------------------------------+--------------+----------------+------------\n  main.tf | git@github.com:rackspace-infrastructure-automation/aws-terraform-asg_instance_replacement//?ref=v0.12.0 (M) | 0.12.0       | 0.12.1         | true       \n  main.tf | git@github.com:rackspace-infrastructure-automation/aws-terraform-vpc_basenetwork//?ref=v0.12.1 (M)          | 0.12.1       | 0.12.7         | true       \n  main.tf | git@github.com:rackspace-infrastructure-automation/aws-terraform-security_group//?ref=v0.12.0 (M)           | 0.12.0       | 0.12.3         | true       \n  main.tf | git@github.com:rackspace-infrastructure-automation/aws-terraform-ec2_asg//?ref=v0.12.1 (M)                  | 0.12.1       | 0.12.15        | true       \n  main.tf | git@github.com:rackspace-infrastructure-automation/aws-terraform-ec2_asg//?ref=v0.12.1 (M)                  | 0.12.1       | 0.12.15        | true       \n  main.tf | hashicorp/consul/aws (M)                                                                                    | 0.1.0        | 0.11.0         | true       \n  main.tf | hashicorp/oci (P)                                                                                           | 4.31.0       | 4.40.0         | true  \n```\n\n### Contributing 🤝\n\n#### Contributing via GitHub\n\nFeel free to join.\n\n#### License\n\nApache License, Version 2.0\n\n### Libraries \u0026 Tools 🔥\n\n- https://github.com/fatih/color\n- https://github.com/go-resty/resty\n- https://github.com/hashicorp/go-version\n- https://github.com/hashicorp/hcl\n- https://github.com/olekukonko/tablewriter\n- https://github.com/spf13/cobra\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirien%2Ftfu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdirien%2Ftfu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirien%2Ftfu/lists"}