Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement - Allow devices to be added without collectors operational #106

Open
natilik-mikeguy opened this issue Sep 6, 2024 · 0 comments

Comments

@natilik-mikeguy
Copy link

Morning!

Similar to my request in #105 - collectors are causing a bit of a pain with devices and our envisaged use of Terraform. Currently, we cannot add devices until collectors are online. This means I have to make the Terraform code to add devices, conditional on some variable. E.g.

resource "logicmonitor_device" "devices" {
  for_each = { for entry in var.devices : entry.name => entry if var.collector_operational }
...

This results in having to run two separate runs of Terraform. One to get the collector groups and collectors added, taking the install URL and provisioning the collectors, and then a second to add the devices to Logic Monitor.

Whilst not the end of the world, it is a pain and means we cannot just provision an entire client in one go.

I appreciate this isn't a Terraform provider enhancement specifically, but it would be great if Logic Monitor behaviour could be adjusted to allow devices to be added before collectors are online (unless there is a specific reason this isn't done) so that entire environments can be provisioned in one run cleanly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant