Skip to content

Terraform Provider for Humio

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
LICENSE.md
Notifications You must be signed in to change notification settings

evenh/terraform-provider-humio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform provider for Humio

EXPERIMENTAL: It is still early days for this plugin and thus not ready for prime time yet.

Currently tested with

  • Terraform v0.12+
  • Go 1.14 (to build the provider plugin)

Installing the provider

We do not publish binaries yet, so for now you need to build it yourself.

  1. Clone the git repository of the provider
git clone https://github.com/humio/terraform-provider-humio
cd terraform-provider-humio
  1. Build the provider plugin
go build -o terraform-provider-humio
  1. Install the provider by following the official documentation.
mkdir -p ~/.terraform.d/plugins
cp terraform-provider-humio ~/.terraform.d/plugins

Using the provider

Authentication

You can specify the address and API token for Humio directly on the provider like this:

provider "humio" {
    addr      = "https://humio.example.com/" # If not specified, the default is: https://cloud.humio.com/
    api_token = "XXXXXXXXXXXXXXXXXXXXXXXXX"
}

It is also possible to specify these settings using environment variables HUMIO_ADDR and HUMIO_API_TOKEN.

In most cases we recommend configuring the Humio address directly on the provider as described above, whereas the API token should be set as an environment variable to keep it out of the code.

Supported resources and examples

See examples directory.

About

Terraform Provider for Humio

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Languages