Open vj-joshi opened 2 years ago
We're facing the same issue:
Error: json: invalid use of ,string struct tag, trying to unmarshal "false" into int
with splunk_inputs_http_event_collector.test,
on inputs_http.tf line 1, in resource "splunk_inputs_http_event_collector" "test":
1: resource "splunk_inputs_http_event_collector" "test" {
Terraform version: v1.1.7
Splunk provider version: 1.4.15
Splunk Enterprise: 8.2.2203.4
@anushjay
We're also facing this issue. So, I wonder, is this prioritized somehow, as this issue was created in June? And did you @vj-joshi or @krakmendy solved this with any workaround?
I guess it's related to the ack
field which is exptected as a string
and then converted to an int
, but received as a bool
. Perhaps the backend was updated, but this Terraform provider code wasn't?
We are trying to create hec using Splunk's terraform provider but it fails with following error:
json: invalid use of ,string struct tag, trying to unmarshal "true" into int
Details: Splunk Provider version = "1.4.13" terraform version = "1.2.2"
Terraform block to create resource:
Splunk Cloud Details:
Error while running tf apply:![image](https://user-images.githubusercontent.com/107563950/173857680-f585dc38-4545-4974-bc94-130791db357f.png)