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
|
4 years ago | |
---|---|---|
bin | 4 years ago | |
.dockerignore | 4 years ago | |
.gitignore | 4 years ago | |
Dockerfile | 4 years ago | |
README.md | 4 years ago | |
pipeline.yaml | 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