Closed markafarrell closed 3 months ago
Thank you for this PR.
In absence of Splunk merging this and deploying a new version of the provider, do you know of a way to use your modified version in Terraform?
@ojensen5115
Something like this should work
Remove existing lock file
rm -f .terraform.lock.hcl
Create Plugin directory
mkdir -p plugins/registry.terraform.io/splunk/splunk/
Download custom splunk provider
curl -L https://github.com/markafarrell/terraform-provider-splunk/releases/download/v1.4.19/terraform-provider-splunk_1.4.19_linux_amd64.zip --output plugins/registry.terraform.io/splunk/splunk/terraform-provider-splunk_1.4.19_linux_amd64.zip
In your provider.tf you will need something like:
terraform {
required_providers {
...
splunk = {
source = "splunk/splunk"
version = "1.4.19"
}
}
}
provider "splunk" { url = "splunk.fqdn.com" username = var.SPLUNK_USERNAME password = var.SPLUNK_PASSWORD }
I believe you need terraform version >= `1.3.3`
This allows you to:
closes #155 closes #156