SumoLogic / terraform-provider-sumologic

Terraform provider for Sumo Logic
https://www.terraform.io/docs/providers/sumologic/
Mozilla Public License 2.0
40 stars 57 forks source link

Setting parent_id doesn't move existing log searches #700

Open gray-host opened 1 month ago

gray-host commented 1 month ago

My team is considering managing our SumoLogic enviornment using Terraform and I noticed this issue when importing some existing resources.

Steps to recreate:

  1. terraform import an existing log search that exists within a subfolder of a larger folder
  2. change the terraform resource definition to match existing configuration
  3. apply so that plan shows no difference
  4. change the parent_id argument to the folder containing the subfolder the search is already contained in
  5. apply
  6. the search will still be in the subfolder as shown by terraform plan detailing changes to be made
dlinsumo commented 1 month ago

Internal tracking ticket SUMO-250025