Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jtopjian/terraform-provisioner-makefile
A Makefile / make provisioner for Terraform
https://github.com/jtopjian/terraform-provisioner-makefile
Last synced: 4 days ago
JSON representation
A Makefile / make provisioner for Terraform
- Host: GitHub
- URL: https://github.com/jtopjian/terraform-provisioner-makefile
- Owner: jtopjian
- Created: 2016-01-02T04:04:41.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-02T04:17:19.000Z (almost 9 years ago)
- Last Synced: 2024-06-21T03:14:22.091Z (5 months ago)
- Language: Go
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# terraform-provisioner-makefile
A Makefile / makefile provisioner for Terraform
## Usage
```hcl
provisioner "makefile" {
directory = "~/infrastructure"
target = "provision"
variables {
HOSTNAME = "${openstack_compute_instance_v2.scratch.name}"
}
}
```## Attributes
* `directory`: Change to this directory and run `makefile`.
* `target`: The Makefile target / task.
* `variables`: A list of key/value pairs that will be passed in as variables to the Makefile## Installation
1. Grab the latest release from the [releases](https://github.com/jtopjian/terraform-provisioner-makefile/releases) page.
2. Copy the binary to the same location as the other Terraform executables.## Building
```shell
$ go get github.com/jtopjian/terraform-provisioner-makefile
$ cd $GOPATH/src/github.com/jtopjian/terraform-provisioner-makefile
$ go build -v -o ~/path/to/terraform/terraform-provisioner-makefile .
```