jianyuan/terraform-provider-sentry

Terraform provider does not support adding integration configuration to setup this label/api key table in opsgenie integration

Opened this issue · 0 comments

Sentry opsgenie integration can be configured using api keys inside a configuration table:
https://docs.sentry.io/product/integrations/notification-incidents/opsgenie/#configure
When creating an issue alert we can specify:
...
"team": ""
...
The team value must be defined as a label from configuration table with corresponding api key.
Current terraform provider does not support adding integration configuration to setup this label/api key table in opsgenie integration, while sentry_plugin resource has this dynamic type map field for configuration https://sourcegraph.com/github.com/jianyuan/terraform-provider-sentry@f15b70efee40fb[…]f5ca532fb/-/blob/sentry/resource_sentry_project_plugin.go?L41
This allows us to inject api keys from opsgenie terraform configuration to sentry.
To reiterate I don't see a way to update integration configuration using terraform provider. Until we have this option we'll need to use the opgenie legacy plugin.