In OpsGenie provider under opsgenie_notification_rule resource there is send_after attribute, now we are using it in our configuration by setting it's value Zero and OpsGenie API is not accepting it, because it might be considering in seconds. As per the below documentation it should be in minutes but what if we wants to set that rule 'immediately' ? We tried every possible terms like string, number but obviously it'll not take those because it must be in minutes. Or is there something we need to convert the data type ? from int to string. In our case 0 minutes is equal to immediately, due to this API is not accepting Zero value. So, could you please suggest on this.
In OpsGenie provider under opsgenie_notification_rule resource there is send_after attribute, now we are using it in our configuration by setting it's value Zero and OpsGenie API is not accepting it, because it might be considering in seconds. As per the below documentation it should be in minutes but what if we wants to set that rule 'immediately' ? We tried every possible terms like string, number but obviously it'll not take those because it must be in minutes. Or is there something we need to convert the data type ? from int to string. In our case 0 minutes is equal to immediately, due to this API is not accepting Zero value. So, could you please suggest on this.
Reference for OpsGeine provider https://registry.terraform.io/providers/opsgenie/opsgenie/latest/docs/resources/notification_rule#enabled
Your assistance will be really helpful here, thank you in advance.