Skip to content

Bug in widget_type for dashboards #597

Open
@volodymyr-ya-MA

Description

@volodymyr-ya-MA

Hi, im on latest provider 0.14.3
Before, for dashboards used widget_type = "discover", but ~week ago it became deprecated:

Error: PUT https://sentry.io/api/0/organizations/melsoft/dashboards/125419/: 400 map[widgets:[map[widgetType:[Attribute value `discover` is deprecated. Please use `error-events` or `transaction-like`]]

I've tried to use error-events, as API returned that value, but its not working:

 Error: expected widget.29.widget_type to be one of ["discover" "issue" "metrics"], got error-events
│
│   with module.sentry_dashboards.sentry_dashboard.main["[FI-SRE] Error_related TF 2"],
│   on ../../../../modules/sentry-dashboard/main.tf line 1, in resource "sentry_dashboard" "main":
│    1: resource "sentry_dashboard" "main" {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions