Terraform provides a common configuration to launch infrastructure from physical and virtual servers to email and DNS providers. Once launched, Terraform safely and efficiently changes infrastructure as the configuration is evolved.
Simple file based configuration gives you a single view of your entire infrastructure.
This Docker image is based on the official Alpine 3.2 base image.
This container expects the user to mount in a directory, which will be mapped to the /data
directory inside the container. This is the directory from which Terraform is configured to read the configuration files referenced by the commands you call.
ENV TERRAFORM_VERSION=0.11.1
docker build -t terraform .
bash install.sh
just make the terraform.sh globally reachable.
terraform.sh apply [options]
terraform.sh apply [options]
terraform.sh destroy [options]
terraform.sh get [options]
terraform.sh graph [options]
terraform.sh init [options] SOURCE [PATH]
terraform.sh output [options] NAME
terraform.sh plan [options]
terraform.sh push [options]
terraform.sh refresh [options]
terraform.sh remote [options]
terraform.sh show terraform.tfstate [options]
terraform.sh taint [options] name
terraform.sh version
docker run -it --rm maddinek/terraform [--version] [--help] <command> [<args>]
docker run -it --rm -v /etc/ssl/certs:/etc/ssl/certs:ro --net=host maddinek/terraform [--version] [--help] <command> [<args>]