Conversation
6102d98 to
a69f90c
Compare
a69f90c to
fdd3d76
Compare
fdd3d76 to
7ae8476
Compare
…ion channel level
7ae8476 to
7843a60
Compare
|
I understand the reasoning behind using TypeString to distinguish between false and "not defined", since this is a known limitation of the Terraform SDK v2. However, I have two concerns:
|
as mentioned in the doc, the behaviour on missing definition of this field at alert level is to take the setting at notification channel level. In the future, when we make it optional at nc level and/or remove it from there, the behavior is to send a notification in this case.
i agree there can be scenarios where the behavior change. We will need a breaking change anyway in the near future because we need to remove this from the ui. Because of this, I agreed to leave the fields as is, default: false, and add the deprecation notice. Then in the near future we will have to apply back this breaking change on default change or remove the fields altogether with a new major version release. |
Understood, then it makes sense
Yeah, let's keep it as compatible as possible so people can migrate to the new field and we will remove those after some time. Thank you for the submission @dbonf |
notify_on_acknwoledgeon all alert resources, it should be used if one want to send a notification for an alert that has been manually acknowledged by a user;notify_when_okandnotify_when_resolvedon notification channel resources: users should define these behaviors at alert level now.technical note: to allow for boolean attributes with no default, we use the string type, enforcing "true" and "false" values, instead of boolean values, because with the current terraform sdk there is no way to distinguish "false" from no value defined.