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.
|
|
# 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
```bash 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
```bash docker run -v $(pwd):/home/terrform/source terraform:0.13.0 show ```
|