Overview of tfupdate
mastertfupdate is a tool designed to automate the updating of version constraints for Terraform core, OpenTofu core, providers, and modules. It can also update dependency lock files (.terraform.lock.hcl) without requiring the Terraform or OpenTofu CLI to be installed.
Key capabilities include:
- Recursive updates of configurations and lock files under a specified directory.
- Fetching the latest release versions from GitHub, GitLab, the Terraform Registry, or the OpenTofu Registry.
- Support for Terraform v0.12+ and OpenTofu v1.6+.
- Integration with CI/CD pipelines to automate daily version checks and Pull Request creation.