Jerakia provider for Terraform
Prerequisites
provider "jerakia" {
api_url = "http://127.0.0.1:9843"
api_token = "tokentoken"
}
data "jerakia_lookup" "lookup_1" {
key = "cities"
namespace = "default"
}
Installation
Using a Pre-Built Binary
Downloading and installing a pre-compiled terraform-provider-jerakia
release
is the recommended method of installation since it requires no additional tools
or libraries to be installed on your workstation.
-
Visit the releases page and download the latest release for your target
architecture.
-
Unzip the downloaded file and copy the terraform-provider-jerakia
binary
to a designated directory as described in Terraform's plugin installation
instructions.
Building from Source
Note: Terraform requires Go 1.11 or later to successfully compile.
- Follow these instructions to setup a Golang development environment.
- Run:
$ go get -v -u github.com/jerakia/terraform-provider-jerakia
$ cd $GOPATH/src/github.com/jerakia/terraform-provider-jerakia
$ make build
You should now have a terraform-provider-jerakia
binary located at
$GOPATH/bin/terraform-provider-jerakia
. Copy this binary to a designated
directory as described in Terraform's plugin installation instructions
Development
This project is using Go Modules for vendor support.
Documentation
Full documentation can be found in the docs
directory.