Splunk Provider

The Splunk provider can interact with the resources supported by Splunk. The provider needs to be configured with the proper credentials before it can be used.

Example Usage

provider "splunk" {
  url                  = "localhost:8089"
  username             = "admin"
  password             = "changeme"
  insecure_skip_verify = true
}

Terraform 0.13 and later must add:

terraform {
   required_providers {
    splunk = {
      source  = "splunk/splunk"
    }
  }
}

Argument Reference

Below arguments for the provider can also be set as environment variables.

(NOTE: Auth token can only be used with certain type of Splunk deployments. Read more on authentication with tokens here: https://docs.splunk.com/Documentation/Splunk/latest/Security/Setupauthenticationwithtokens)