Sign inSign up

wirelab/docker-terragrunt

By wirelab

•Updated over 5 years ago

Image
0

905

wirelab/docker-terragrunt repository overview

⁠Docker Terragrunt

Drone (cloud)

Terragrunt⁠ running with Terraform version 0.13.4

⁠Usage

This container is used to deploy Terraform code to AWS executed by a CICD pipeline job achieved by passing in terragrunt commands at runtime eg. terragrunt init. Bare in mind the container has to have AWS credentials/ARN role passed in so that it can connect and interact with AWS APIs.

⁠Environmental variables

The container expects 2 (two) build time arguments so that it can build a desired version of Terragrunt and Terraform. It also needs AWS credentials during runtime.

NameDescriptionTypeDefaultRequired
TERRAFORM_VERSIONVersion of Terraformbuild-argNoneTrue
TERRGRUNT_VERSIONVersion of Terragruntbuild-argNoneTrue
AWS_ACCESS_KEY_IDValid AWS access IDenvNoneFalse
AWS_SECRET_ACCESS_KEYValid AWS secret keyenvNoneFalse

⁠Local build

docker build -t docker-terragrunt/v13 \
--build-arg TERRAFORM_VERSION=0.13.4 \
--build-arg TERRAGRUNT_VERSION=0.25.4 .

Tag summary

Content type

Image

Digest

Size

109.9 MB

Last updated

over 5 years ago

docker pull wirelab/docker-terragrunt:v0.14.0