terraform-provider-sumologic icon indicating copy to clipboard operation
terraform-provider-sumologic copied to clipboard

MetricsSearch does not work anymore

Open flatherskevin opened this issue 11 months ago • 3 comments

Using the MetricsSearch resource type does not work. After running, it creates what looks like a folder object in the UI, and clicking on that results in the following error:

Unable to load the metrics search. It may have been deleted or you do not have access to it.

I noticed that the Client is using v1/metricsSearches https://github.com/SumoLogic/terraform-provider-sumologic/blob/681fca86424d753c2bb99a95d82f527dc74325a8/sumologic/sumologic_metrics_search.go#L62

Is there something going wrong with the v1 endpoint and how this interacts with it?

flatherskevin avatar Jan 08 '25 20:01 flatherskevin

Internal jira MET-21556

dlinsumo avatar Jan 08 '25 22:01 dlinsumo

The resources created by v1/metricsSearches endpoints are deprecated and no longer supported on UI. The provider has been added for sumologic_metrics_search_v2, please use the new resource for metrics searches.

sukhhanda1 avatar Jan 30 '25 10:01 sukhhanda1

@sukhhanda1 thank you! When is the provider scheduled for release so I can begin using the new version?

flatherskevin avatar Jan 30 '25 13:01 flatherskevin