Skip to content
Matt Coffin edited this page Dec 14, 2015 · 2 revisions

terraform-provider-localfile, like many Go applications, is installable simply via the command go get github.com/mcoffin/terraform-provider-localfile. This, however, is not sufficient to get terraform to recognize the plugin. For generic information on terraform plugin installation, please see the terraform documentation on plugin basics. Below is a quick-start for installing terraform-provider-localfile.

Quickstart (TL;DR)

First, install terraform-provider-localfile with Go.

$ go get github.com/mcoffin/terraform-provider-localfile

Then add terraform-provider-localfile to your ~/.terraformrc file to register it as a terraform provider plugin. Remember to replace $YOUR_GOPATH with the GOPATH to which you installed terraform-provider-localfile.

providers {
    localfile = $YOUR_GOPATH/bin/terraform-provider-localfile"
}
Clone this wiki locally