logicmonitor / terraform-provider-logicmonitor

Terraform LogicMonitor provider.
https://registry.terraform.io
Mozilla Public License 2.0
24 stars 16 forks source link

Escsalation Chains resource only allows 1 destination per stage #83

Closed ChrisCAG closed 6 months ago

ChrisCAG commented 7 months ago

Trying to add more than 1 destination per stage will result in the logicmonitor provider separating the destinations into separate stages.

lm-madhvi commented 7 months ago

When you want to create time based chain , you need to add subchain which is destinations field, you can add more than one destinations(i.e. subchains) and more than one stage in a subchain.

ChrisCAG commented 7 months ago

I never mentioned a time based chain at all?

To be clear, I'm trying to create the most basic escalation chain, simply with 2 destinations on a single stage.

I can do this via the UI, and when I import that into code, it specifies the following configuration but if you then apply this exact configuration after an import, it will create a chain with two stages.

stages = [ { addr = "ServiceNow" type = "ADMIN" method = "ServiceNow DEV Integration" contact = "" }, { addr = "xxxxx" type = "ARBITRARY" method = "email" contact = "" },

lm-madhvi commented 6 months ago

Hi @ChrisCAG ,

Thanks for identifying this issue , we started working on this fix.

lm-madhvi commented 6 months ago

Hi @ChrisCAG ,

We have addressed and resolved the mentioned issue, subsequently incorporating the necessary fixes into the latest release (version 2.0.15).

Thanks