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>
.
- tfenv
- tgswitch
- terraform (version: latest)
- terragrunt (version: latest)
- semtag
- gh
- git
- tflint
- tfsec
- terraform-docs
See requirements.txt
for PyPi packages installed via pip
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
.
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.