Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
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.
Go to file
Mitchell Hashimoto c615afc097
command/apply: improved output, still not done
12 years ago
builtin providers/aws: route table association tests 12 years ago
command command/apply: improved output, still not done 12 years ago
config config: LoadDir with no matching files errors 12 years ago
depgraph terraform: turn multi-counts into multiple nodes 12 years ago
digraph digraph: fix flaky test 12 years ago
flatmap flatmap: deterministic tests 12 years ago
helper helper/diff: if attribute is set and also computed, don't mark computed 12 years ago
plugin plugin: Adding support for provisioners 12 years ago
rpc rpc: Cleanup imports 12 years ago
scripts scripts: unix line endings 12 years ago
terraform terraform: plan read/write sets magic bytes so we can test format 12 years ago
test-fixtures main: add main config 12 years ago
.gitignore Add tfplan to gitignore 12 years ago
Makefile testrace won't run acceptance tests 12 years ago
README.md update readme 12 years ago
TODO.md Update TODO 12 years ago
commands.go Compile 12 years ago
config.go Setup provisioners for CLI 12 years ago
config_test.go Update config test to handle provisioners 12 years ago
log.go Setup panicwrap 12 years ago
main.go Setup provisioners for CLI 12 years ago
panic.go Setup panicwrap 12 years ago
version.go

README.md

Terraform

Terraform is a tool for building and changing infrastructure safetly and efficiently.

Developing Terraform

If you wish to work on Terraform itself or any of its built-in providers, you'll first need Go installed (version 1.2+ is required). Make sure Go is properly installed, including setting up a GOPATH. Make sure Go is compiled with cgo support. You can verify this by running go env and checking that CGOENABLED is set to "1".

Next, install Git, which is needed for some dependencies.

Then, install Gox, which is used as a compilation tool on top of Go:

$ go get -u github.com/mitchellh/gox

Next, clone this repository into $GOPATH/src/github.com/hashicorp/terraform and then just type make. This will compile some dependencies and then run the tests. If this exits with exit status 0, then everything is working!

$ make
...

To compile a development version of Terraform and the built-in plugins, run make dev. This will put Terraform binaries in the bin folder:

$ make dev
...
$ bin/terraform
...

If you're developing a specific package, you can run tests for just that package by specifying the TEST variable. For example below, only terraform package tests will be run.

$ make test TEST=./terraform
...