The Terraform provider for Sentry allows teams to configure and update Sentry project parameters via their command line. This provider is officially sponsored by Sentry.
Detailed documentation is available on the Terraform provider registry.
If you wish to work on the provider, you will need to install Go (We use >= 1.21) on your machine.
We are currently in the process of migrating from the Terraform Plugin SDKv2 to the Terraform Plugin Framework. As part of this transition, any future resources and data sources should be implemented using the Terraform Plugin Framework, located in the internal/provider
directory.
In order to run the full suite of acceptance tests, run make testacc
.
Make sure to set the following environment variables beforehand:
SENTRY_TEST_ORGANIZATION
SENTRY_AUTH_TOKEN
Note: Acceptance tests create real resources, and often cost money to run.