You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Drew Short f1c6698b32 Initial version of docker image 4 years ago
bin Initial version of docker image 4 years ago
.dockerignore Initial version of docker image 4 years ago
.gitignore Initial version of docker image 4 years ago
Dockerfile Initial version of docker image 4 years ago
README.md Initial version of docker image 4 years ago
pipeline.yaml Initial version of docker image 4 years ago

README.md

Terraform Docker Image

This repository is for building a container image that uses a simple terraform wrapper to work on terraform files mounted in the /home/terraform/source directory. It is also the image base for creating custom terraform images with special plugins preloaded onto the image.

Building

Create a container with a specific version of terraform

docker build -t terraform:0.13.0 --build-arg TERRAFORM_VERSION=0.13.0 .

Usage

Mount the current directory as the terraform source and run the show command

docker run -v $(pwd):/home/terrform/source terraform:0.13.0 show