Open sandnabba opened 4 years ago
Thanks for the details. Let me follow up with the AO team to see if conditions can be modified in place or if doing so creates a whole new condition object within the alert.
@petercable do you know off-hand if we change an attribute in an alert condition, if we have to create a whole new condition or are we able to modify the existing condition? In other words, will changing a condition create a new condition ID?
If something has changed in an alert condition, either in Terraform or if someone has altered the alert in the web interface, the output of a plan will look like this:
By just having a quick look at this output, it's very hard to tell which settings that have changed. (It's the
summary_function
). The problem here is that the condition have got a new id, which is causing this behavior.The strange thing however is that if I then change the summary_function in the GUI, Terraform will detect that change:
So I guess it would be possible to get a nicer output from a plan.
Expected result