Terrafile
Terrafile is a binary written in Go to systematically manage external modules from Github for use in Terraform. This is a fork of the original version found here: https://github.com/coretech/terrafile
How to install
macOS
brew tap segmentio/packages
brew install segmentio/packages/terrafileLinux
Download your preferred flavor from the releases page and install manually.
How to use
Terrafile expects a file named Terrafile which will contain your terraform module dependencies in a yaml like format.
An example Terrafile:
git@github.com:segmentio/my-modules:
- chamber_v2.0.0
- constants_v1.0.1
- iam_v1.0.0
- service_v1.0.4
- rds_v0.0.5
- worker_v1.1.0
- master
Terrafile config file in current directory and modules exported to .terrafile///
$ terrafile
[*] Cloning git@github.com:segmentio/my-modules
[*] Vendoring ref chamber_v2.0.0
[*] Vendoring ref constants_v1.0.1
[*] Vendoring ref iam_v1.0.0
[*] Vendoring ref service_v1.0.4
[*] Vendoring ref rds_v0.0.5
[*] Vendoring ref task-role_v1.0.5
[*] Vendoring ref masterTerrafile config file in custom directory
$ terrafile -f config/TerrafileTerraform modules exported to custom directory
$ terrafile -p /path/to/custom_directory
Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
