terraform-provider-splunk: Failure to update splunk_saved_search
Steps to reproduce:
- Create a
splunk_saved_searchesresource - Edit the resource
- Apply Changes
- Apply will fail with a 400 Error
Expected Result:
- making changes to a
splunk_saved_searchesresource should correctly update the saved search
error output
Warning: Applied changes may be incomplete
The plan was created with the -target option in effect, so some changes
requested in the configuration may have been ignored and the output values may
not be fully updated. Run the following command to verify that no other
changes are pending:
terraform plan
Note that the -target option is not suitable for routine use, and is provided
only for exceptional situations such as recovering from errors or mistakes, or
when Terraform specifically suggests to use it as part of an error message.
Error: Http Error: [400] 400 Bad Request {"messages":[{"type":"ERROR","text":"Argument \"schedule_priority\" is not supported by this handler."}]}
on main.tf line 1, in resource "splunk_saved_searches" "default":
1: resource "splunk_saved_searches" "default" {
About this issue
- Original URL
- State: open
- Created 6 years ago
- Comments: 15 (1 by maintainers)
We are facing the same error and the workaround we are using is to group alerts into a module and recreate (destroy & apply) if there are bigger changes.
I also have this issue. I made a basic saved search:
The added some alert actions and saw the problem
I am doing this from an admin role.