splunk / terraform-provider-victorops

Manage VictorOps teams, users, escalation policies and routing keys using Terraform
Mozilla Public License 2.0
12 stars 11 forks source link

Updating escalation policies does not work #6

Open vascop opened 3 years ago

vascop commented 3 years ago

Updating an escalation policy, specifically hit this when modifying ignore_custom_paging_policies, the routing key resource is forced replacement because the policy itself is forced to be replaced. I'm not sure this is necessary and just done cleanly when doing it through the UI, but in this case we hit:

module.victorops.victorops_routing_key.my_routing_key: Destroying... [id=My-thing]
Error: deleting routing keys not yet implemented in the API, please delete in the UI

Would be nice to have a heads up about this in the documentation, or to remove the limitation in the provider. I've hit similar issues when trying to update a user email address, in that case the resource isn't marked for replacement but we still hit an issue and have to perform the update in the UI. Any guidance on reporting these issues individually would be nice as we're considering if we should keep using the provider or reverting back to UI-only.