Skip to content

magicmemories/terraform-provider-jerakia

 
 

Repository files navigation

terraform-provider-jerakia

Jerakia provider for Terraform. This is a fork of the original jerakia/terraform-provider-jerakia, updated for newer versions of Terraform.

Prerequisites

Terraform Configuration Example

terraform {
  required_providers {
    jerakia = {
      source = "magicmemories/jerakia"
    }
  }
}

provider "jerakia" {
  api_url   = "http://127.0.0.1:9843"
  api_token = "tokentoken"
}

data "jerakia_lookup" "lookup_1" {
  key       = "cities"
  namespace = "default"
}

Installation

Using the Terraform registry (Recommended)

Simply list this provider in your module's required_providers block, like so:

terraform {
  required_providers {
    jerakia = {
      source = "magicmemories/jerakia"
    }
  }
}

When you run terraform init, the provider will be downloaded automatically.

Building from Source

Note: The Terraform Plugin SDK supports only Go 1.15 or later (though earlier versions may be able to successfully compile).

  1. Follow these instructions to setup a Golang development environment.
  2. Check out the contents of this repository.
  3. cd into the checked out repository
  4. (Optional) Edit Makefile to set the version number you want assigned to your built binary.
  5. Run make install

The terraform-provider-jerakia binary will be compiled and copied to your implied local mirror directory for Terraform plugins. If you list it in your required_providers block as described above, it will be picked up automatically.

Development

This project is using Go Modules for vendor support.

Documentation

Full documentation can be found in the docs directory.

About

A Terraform provider for Jerakia

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 76.5%
  • Makefile 21.1%
  • Ruby 2.4%