Open jeliker opened 1 year ago
Terraform v1.5.3 on darwin_amd64
affected_resources=oci_monitoring_alarm
resource "oci_monitoring_alarm" "the_alarm" { #Required compartment_id = var.compartment_id destinations = [var.topic_id] display_name = var.alarm_display_name is_enabled = var.alarm_is_enabled metric_compartment_id = var.metric_compartment_id namespace = var.namespace query = var.query severity = var.severity #Optional repeat_notification_duration = "PT15M" }
Setting repeat_notification_duration to null should remove the repeat duration value.
repeat_notification_duration
null
Setting repeat_notification_duration to null for an alarm that had a previous non-null value does not remove the repeat duration value.
terraform apply
repeat_notification_duration = null
repeatNotificationDuration
Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you.
Community Note
Terraform Version and Provider Version
Terraform v1.5.3 on darwin_amd64
Affected Resource(s)
affected_resources=oci_monitoring_alarm
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Setting
repeat_notification_duration
tonull
should remove the repeat duration value.Actual Behavior
Setting
repeat_notification_duration
tonull
for an alarm that had a previous non-null value does not remove the repeat duration value.Steps to Reproduce
terraform apply
with above HCLrepeat_notification_duration = null
thenterraform apply
repeat_notification_duration
valueImportant Factoids
References
repeatNotificationDuration
to null removes the repeat