This container allows to run Terraform ( 0.6.7 ) inside docker container. You need to export your credencials as envirnoment variables. For AWS it needs TF_VAR_AWS_ACCESS_KEY_ID
and TF_VAR_AWS_SECRET_ACCESS_KEY
git clone https://github.com/combor/docker-terraform.git
cd docker-terraform
docker build -t terraform .
docker run -ti \
-e TF_VAR_AWS_ACCESS_KEY_ID=$TF_VAR_AWS_ACCESS_KEY_ID \
-e TF_VAR_AWS_SECRET_ACCESS_KEY=$TF_VAR_AWS_SECRET_ACCESS_KEY \
terraform