Comments (5)
We needed this functionality, too. I've submitted some PRs to add the resource.
from terraform-provider-sentry.
Hey @lingrino! Thank you for your kind words!
Here is what I think the DSL could look like:
resource "sentry_organization_integration_pagerduty" "default" {
organization = "my-organization"
identifier = "my-pager-duty-instance"
service {
name = "service_1"
integration_key = "00000000000000000000000000000000"
}
service {
name = "service_2"
integration_key = "00000000000000000000000000000000"
}
}
You may notice that the integration keys are nested in the same resource. Ideally, each should be its resource, but the API only accepts a complete list. The Terraform provider has to track the internal ids.
- https://github.com/getsentry/sentry/blob/6d6c0bd9b8125d554f966da1bb0b70fcab601c27/tests/sentry/integrations/pagerduty/test_integration.py#L146-L161
- https://github.com/getsentry/sentry/blob/6d6c0bd9b8125d554f966da1bb0b70fcab601c27/src/sentry/integrations/pagerduty/integration.py#L80-L114
I was planning to work on this next week. Happy to delegate it to you if you're keen on taking this on! Let me know!
from terraform-provider-sentry.
@jianyuan sorry about the delay! I've got everything set up locally and I'm working on this now. Hopefully I will have a PR this week.
from terraform-provider-sentry.
@jianyuan I'm sorry. Even though I'd love to work on this I don't think I'll find the time for at least a few weeks. If you were already planning on this resource then please continue without me. Otherwise I will check back in February
from terraform-provider-sentry.
hi @jianyuan is this still on your roadmap? I am having the same issue as @lingrino - however I have never written GO so it would not be as easy for me to jump in and write this.
from terraform-provider-sentry.
Related Issues (20)
- ... is not a valid platform HOT 1
- Requests to Slack exceeded the rate limit HOT 3
- Plugin crashes in sentry.followShape HOT 5
- Documentation does not cover what options can be used when setting the platform
- Not able to add integrated LDAP users to teams
- Version compatablity HOT 2
- Provider panics when sentry is not available
- Unable to update users HOT 5
- Support not creating default alerts when creating a project HOT 1
- Sentry Terraform provider does not recognize "React" as a valid platform HOT 4
- sentry_key resource import statement doc fix
- Using lists for alert configuration HOT 1
- Create Microsoft Teams integration Example HOT 1
- sentry_issue_alert action block - pagerduty service support HOT 2
- No replacement for the deprecated `dsn_secret` in `sentry_key` resource HOT 1
- Support setting the owner in the sentry_issue_alert resource HOT 1
- resource import instructions missing for the `sentry_dashboard` resource HOT 1
- Prevent creation of default alert rule HOT 3
- Add 'sentry_organization_member' data source HOT 1
- panic: runtime error: index out of range [4] with length 4 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.