Skip to content

sumologic_log_search does not move existing log search in proper folder #715

@pdobrzanski-appfire

Description

@pdobrzanski-appfire

Hello,

I am moving existing dashboards and queries into SumoLogic Library (not a personal folder).

For folder it works ok like this

resource "sumologic_dashboard" "main" {
  folder_id = "00000000052FB492"
  ...
  }

However, for log search like:

  name = "Some name"
  description = "Some description"
  parent_id = "000000000532E867"

terraform shows plan properly and executes ok.

        id                  = "000000000537CD2C"
        name                = "Some name"
      ~ parent_id           = "0000000003F43AB9" -> "000000000532E867"
        # (4 unchanged attributes hidden)

        # (2 unchanged blocks hidden)
    }

Unfortunately, there is no change in SL and plan shows the difference again.
I thought this might be permission issue - but copying existing into folder worked ok.

When those existing log queries were removed (comment out and terraform apply) and recreated - they were put in correct folder.
So looks like problem is only with update.

Terraform v1.9.5
sumologic/sumologic v2.31.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions