Jerakia provider for Terraform. This is a fork of the original
jerakia/terraform-provider-jerakia
, updated for newer versions of Terraform.
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"
}
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.
Note: The Terraform Plugin SDK supports only Go 1.15 or later (though earlier versions may be able to successfully compile).
- Follow these instructions to setup a Golang development environment.
- Check out the contents of this repository.
cd
into the checked out repository- (Optional) Edit
Makefile
to set the version number you want assigned to your built binary. - 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.
This project is using Go Modules for vendor support.
Full documentation can be found in the docs
directory.