splunk / terraform-provider-splunk

Terraform Provider for Splunk
Mozilla Public License 2.0
103 stars 75 forks source link

saved_search: auto_summarize omit when empty #133

Closed mcmluk-monster closed 2 years ago

mcmluk-monster commented 2 years ago

When trying to create saved searches for Splunk Cloud, the auto_summarize field, even when not set, has a default value set. Having the field set results in a 400 response as the auto_summarize parameter does not seem to be handled by Splunk Cloud. Omitting the field when empty allows the saved search to be properly created and is defaulted to false regardless on if the field is set by default.

anushjay commented 2 years ago

@mcmluk-monster Can you please rebase your master to pull the recent linter changes and update your PR? That should fix the CI failures. I can merge your branch once the tests pass. Thank you.