Skip to content
/ tfdeb Public

Simple lightweight tool to check provider updates for Terraform

Notifications You must be signed in to change notification settings

joonvena/tfdeb

Repository files navigation

tfdeb

ci

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. <repository_owner>/<project_name> ""
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 and give variables to the job according to the table above.