https://github.com/joonvena/tfdeb
Simple lightweight tool to check provider updates for Terraform
https://github.com/joonvena/tfdeb
dependency-manager gitlab terraform
Last synced: about 2 months ago
JSON representation
Simple lightweight tool to check provider updates for Terraform
- Host: GitHub
- URL: https://github.com/joonvena/tfdeb
- Owner: joonvena
- Created: 2021-11-14T11:21:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-27T19:08:55.000Z (over 3 years ago)
- Last Synced: 2023-03-03T13:46:34.838Z (over 3 years ago)
- Topics: dependency-manager, gitlab, terraform
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# tfdeb

Simple updater for your Terraform versions.tf files. Currently only works with Gitlab.
## Variables
| Variable | Description | Default |
| --------------------- | --------------------------------------------------------- |------------------------------------|
| TF_REGISTRY_BASE_URL | Base url where to fetch registry information | "https://registry.terraform.io/v1" |
| TF_VERSIONS_FILE_PATH | Path to versions.tf file in repository | "versions.tf" |
| GITLAB_URL | Gitlab instance url | "https://gitlab.com" |
| GITLAB_PROJECT | Path to project eg. / | "" |
| GITLAB_TOKEN | Token that has full access to the project | "" |
| GITHUB_TOKEN | Token with read access to the public repositories | "" |
| BRANCH | Branches you want to update | "master" |
## Setup
Repository contains example .gitlab-ci.yml file to get started. Only thing you need to do is to create repository in Gitlab that contains the .gitlab-ci.yml file and create [Pipeline Schedule](https://docs.gitlab.com/ee/ci/pipelines/schedules.html#configuring-pipeline-schedules) and give variables to the job according to the table above.