Skip to content

tfcmt-gitlab is a CLI command to parse and notify Terraform execution results. This command supports GitLab as a CI and notification platform.

License

Notifications You must be signed in to change notification settings

hirosassa/tfcmt-gitlab

Repository files navigation

tfcmt-gitlab

Build Status Go Report Card GitHub last commit License

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

About

tfcmt-gitlab is a CLI command to parse and notify Terraform execution results. This command supports GitLab as a CI and notification platform.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published