Skip to content

GitHub container registry image used for Terraform module testing

License

Notifications You must be signed in to change notification settings

marshall7m/terrace

Repository files navigation

terrace

Description

The root directory of this repository contains the configurations needed to build a Docker image for Terraform module testing. The image is stored within the GitHub container registry and can be reference via it's address: ghcr.io/marshall7m/terrace:<tag>.

Built-in

See requirements.txt for PyPi packages installed via pip

Arguments

Within both images within the multi-stage build, a set of build arguments are available to pin defined versions of the packages mentioned above to suit your needs. These arguments can defined within the docker build command with each argument defined like so: --build-arg TFSEC_VERSION=0.36.11 --build-arg TERRAFORM_VERSION=1.0.0.

Notes

This image leverages the awesome Terraform binary manager tfenv and Terragrunt binary manager tgswitch to install and manage both binary versions. Future installations of the binaries are recommended be installed via these managers to prevent $PATH complications.