hashicorp/terraform — pull request #377 by mitchellh (2014-10-08 04:26:08+00:00)
Title: Add ${path.X} variables for path referencing

This PR adds the variables:

* `${path.cwd}` - CWD of the Terraform call
* `${path.module}` - Path to the current module
* `${path.root}` - Path to the root module

These should be used within modules to represent module-local paths.