Skip to content

uzyexe/dockerfile-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

uzyexe/terraform Circle CI

What is terraform

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.

https://www.terraform.io/

Dockerfile

Trusted Build

This Docker image is based on the official alpine:3.4 base image.

How to use this image

docker run uzyexe/terraform [--version] [--help] <command> [<args>]

Using

Please note: Create by your Terraform configuration files (.tf) is /data directory

terraform apply

docker run --rm -it -v /data:/data uzyexe/terraform apply [options]

terraform destroy

docker run --rm -it -v /data:/data uzyexe/terraform destroy [options] [DIR]

terraform fmt

docker run --rm -it -v /data:/data uzyexe/terraform fmt [options] [DIR]

terraform force-unlock

docker run --rm -it -v /data:/data uzyexe/terraform force-unlock LOCK_ID [DIR]

terraform get

docker run --rm -it -v /data:/data uzyexe/terraform get [options] PATH

terraform graph

docker run --rm -it -v /data:/data uzyexe/terraform graph [options]

terraform import

docker run --rm -it -v /data:/data uzyexe/terraform [options] ADDR ID

terraform init

docker run --rm -it -v /data:/data uzyexe/terraform init [options] SOURCE [PATH]

terraform output

docker run --rm -it -v /data:/data uzyexe/terraform output [options] NAME

terraform plan

docker run --rm -it -v /data:/data uzyexe/terraform plan [options]

terraform providers

docker run --rm -it -v /data:/data uzyexe/terraform providers [config-path]

terraform push

docker run --rm -it -v /data:/data uzyexe/terraform push [options]

terraform refresh

docker run --rm -it -v /data:/data uzyexe/terraform refresh [options]

terraform show

docker run --rm -it -v /data:/data uzyexe/terraform show terraform.tfstate [options]

terraform state [options] [args]

docker run --rm -it -v /data:/data uzyexe/terraform state <subcommand> [options] [args]

terraform taint

docker run --rm -it -v /data:/data uzyexe/terraform taint [options] name

terraform untaint

docker run --rm -it -v /data:/data uzyexe/terraform untaint [options] name

terraform validate

docker run --rm -it -v /data:/data uzyexe/terraform validate

terraform version

docker run --rm -it uzyexe/terraform version

terraform workspace

docker run --rm -it uzyexe/terraform workspace <subcommand> [options] [args]

Authors

License

This project is licensed under the terms of the MIT license.

About

Terraform Dockerfile

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •