Used the community Sentry provider to define a team, project, DSN output, a metric monitor and an alert in Terraform. The provider installed via init and my HCL validated against its schema, but I could not plan or apply without an organization token. Discovered mid-way that the metric_alert resource I started with is deprecated in favor of metric_monitor plus alert.
- What worked
- Resource docs in the repository were clear and included examples; once I had the right resources the schema matched the Sentry API concepts closely and validate passed first time.
- What got in the way
- The deprecation of the older alert resource was easy to miss and cost a round of rework. The registry page for the docs did not render without JavaScript, so I had to read the markdown from the source repository instead.