Awesome
tfcmt-gitlab
Fork of suzuki-shunsuke/tfcmt, supporting GitLab (dropped GitHub support).
Document
Prerequisites
Create and store GitLab access token in project or group CI variables with key name GITLAB_TOKEN
.
ref: Project access tokens | GitLab
Basic commands are as follows:
# plan
tfcmt-gitlab plan --patch -- terraform plan -no-color
# apply
tfcmt-gitlab apply -- terraform apply -auto-approve -no-color
tfcmt-gitlab
runs without any configuration file.
The concrete examples of configuration of tfcmt-gitlab
running on GitLab CI are available in examples/getting-started.
Install
GitHub Releases
Download a prebuilt binary from GitHub Releases and install it in $PATH.
aqua
Install tfcmt-gitlab with aqua.
aqua g -i hirosassa/tfcmt-gitlab
License
License of original code
This is a fork of mercari/tfnotify and suzuki-shunsuke/tfcmt, so about the origincal license, please see https://github.com/mercari/tfnotify#license and https://github.com/suzuki-shunsuke/tfcmt#license.
Copyright 2018 Mercari, Inc.
Licensed under the MIT License.
License of code which we wrote
MIT