Skip to content

jerakia/terraform-provider-jerakia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-provider-jerakia

Jerakia provider for Terraform

Prerequisites

Terraform Configuration Example

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.

  1. Visit the releases page and download the latest release for your target architecture.

  2. 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.

  1. Follow these instructions to setup a Golang development environment.
  2. 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.