Git Product home page Git Product logo

Comments (8)

henworth avatar henworth commented on September 21, 2024 1

Seeing a similar issue. In my case it's the actions parameter with the uuid, name, channel_id, and targetIdentifier fields showing up after apply.

from terraform-provider-sentry.

arslanbekov avatar arslanbekov commented on September 21, 2024

Same problem too with actions

│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to sentry_issue_alert.alert-rule, provider "provider[\"registry.terraform.io/jianyuan/sentry\"]" produced an unexpected new value: .actions: was cty.StringVal("  [\n    {\n      \"id\":
│ \"sentry.integrations.slack.notify_action.SlackNotifyServiceAction\",\n      \"workspace\": \"XXXX\",\n      \"channel\": \"channel\",\n      \"channel_id\": \"XXXXXXX\",\n      \"name\": \"Send a notification to the Slack workspace to channel (optionally, an
│ ID: XXXXXXX) and show tags [] and notes in notification\",\n      \"tags\": \"\",\n      \"label\": \"Send a slack notification\"\n    }\n  ]\n"), but now
│ cty.StringVal("[{\"channel\":\"channel\",\"channel_id\":\"XXXXXXX\",\"id\":\"sentry.integrations.slack.notify_action.SlackNotifyServiceAction\",\"label\":\"Send a slack notification\",\"name\":\"Send a notification to the Slack workspace to channel
│ (optionally, an ID: XXXXXXX) and show tags [] and notes  in notification\",\"tags\":\"\",\"uuid\":\"xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx\",\"workspace\":\"XXXX\"}]").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

from terraform-provider-sentry.

cchawn avatar cchawn commented on September 21, 2024

Similarly, we are getting inconsistent results for our issue alerts, specifically the filters.

We are using v 0.12.1 of the provider and began noticing these errors this week.

Here’s an example plan:

  # module.frequently_occurring_issue["XXXXX"].sentry_issue_alert.frequently_occurring_issue will be updated in-place
  ~ resource "sentry_issue_alert" "frequently_occurring_issue" {
      ~ filters      = jsonencode(
          ~ [
              ~ {
                    id               = "sentry.rules.filters.assigned_to.AssignedToFilter"
                  ~ name             = "The issue is assigned to team #XXXXX" -> "The issue is assigned to Team"
                  ~ targetIdentifier = YYYYY -> "YYYYY"
                    # (1 unchanged attribute hidden)
                },
            ]
        )
        id           = "ZZZZZ"
        name         = "Frequently occurring issue"
        # (8 unchanged attributes hidden)
    }

and the associated error we get when trying to apply it

╷
│ Error: Provider produced inconsistent result after apply
│ 
│ When applying changes to
│ module.user_impacting_alert["team-name"].sentry_issue_alert.user_impacting_alert,
│ provider "provider[\"registry.terraform.io/jianyuan/sentry\"]" produced an
│ unexpected new value: .filters: was
│ cty.StringVal("[{\"id\":\"sentry.rules.filters.assigned_to.AssignedToFilter\",\"name\":\"The
│ issue is assigned to
│ Team\",\"targetIdentifier\":\"XXXXX\",\"targetType\":\"Team\"}]"),
│ but now
│ cty.StringVal("[{\"id\":\"sentry.rules.filters.assigned_to.AssignedToFilter\",\"name\":\"The
│ issue is assigned to team
│ #team-name\",\"targetIdentifier\":XXXXX,\"targetType\":\"Team\"}]").
│ 
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.

This might be related to getsentry/sentry#72374

So maybe worth splitting my error out into it's own issue 🤔

from terraform-provider-sentry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.