Skip to content

Instantly share code, notes, and snippets.

@B0yc3y
B0yc3y / .gitlab-ci.yml
Created November 8, 2018 23:30
Example Terraform Gitlab CI/CD Pipeline
# NOTE: A REMOTE BACKEND IS NEEDED FOR TF CI/CD TO WORK
#This file is a template, and might need editing before it works on your project.
# Official image for Hashicorp's Terraform. It uses an image which is Alpine
# based as it is much lighter.
#
# Entrypoint is also needed as image by default set `terraform` binary as an
# entrypoint.
image:
name: hashicorp/terraform:light