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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2d9b230 · Aug 3, 2024
Apr 10, 2024
Apr 16, 2022
Nov 23, 2022
Aug 3, 2024
Apr 16, 2022
Mar 22, 2022
Dec 19, 2021
Nov 6, 2023
Apr 16, 2022
Apr 10, 2024
Oct 9, 2023
Apr 15, 2022
Apr 18, 2022
Jul 17, 2021
Apr 30, 2022
Apr 10, 2024
Apr 10, 2024
Jan 2, 2022

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