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.
For most terraform commands, the run command is as simple as:
docker run -it --rm clouddrove/terraform [--version] [--help] <command> [<args>]
docker run -it --rm --net=host clouddrove/terraform apply [options]
docker run -it --rm clouddrove/terraform destroy [options] [DIR]
docker run -it --rm clouddrove/terraform get [options] PATH
docker run -it --rm clouddrove/terraform graph [options]
docker run -it --rm clouddrove/terraform init [options] SOURCE [PATH]
docker run -it --rm clouddrove/terraform output [options] NAME
docker run -it --rm --net=host clouddrove/terraform plan [options]
docker run -it --rm --net=host clouddrove/terraform push [options]
docker run -it --rm --net=host clouddrove/terraform refresh [options]
docker run -it --rm --net=host clouddrove/terraform remote [options]
docker run -it --rm --net=host clouddrove/terraform show terraform.tfstate [options]
docker run -it --rm --net=host clouddrove/terraform taint [options] name
docker run -it --rm clouddrove/terraform version