Comments (8)
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.
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.
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)
- Error deleting project inbound data filter
- Always showing updates in-place for `sentry_project_inbound_data_filter` for `filter_id = "legacy-browsers"` HOT 1
- Add the Slack channel to the Sentry_team ressource
- Duplicate resources are created by default
- List of Acceptable Project Platform Values HOT 2
- Changed sentry_key DSNs HOT 1
- Supports for comparisonDelta in metric alerts
- Pagerduty service integration
- [Data residency] Support for EU data residency in organisation resource HOT 1
- UUID not included when running updating Alert in Terraform Apply HOT 1
- sentry_issue_alert condition issue HOT 5
- Sentry not assigning platform correctly.
- Sentry not using `slug` input HOT 5
- Error when handling externally-deleted organization member
- Creating custom filters
- Ignore Whitespace changes with jsonencode
- Sentry to Grafana OnCall (Custom Integration) HOT 1
- Manage team-level roles via Terraform
- rate_limit_window unit HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-sentry.