jianyuan / terraform-provider-sentry

Terraform provider for Sentry
https://registry.terraform.io/providers/jianyuan/sentry/latest
MIT License
330 stars 133 forks source link

Feature Request: resource `sentry_organization_plugin` #165

Open Skeen opened 2 years ago

Skeen commented 2 years ago

Hi,

It appears that the provider currently supports legacy integrations / plugins.

For instance deploying the Gitlab integration:

resource "sentry_plugin" "gitlab" {
  organization = sentry_organization.my_org.id
  project      = sentry_project.my_project.id
  plugin       = "gitlab"

  config = {
    gitlab_url = "https://gitlab.example.com",
    gitlab_repo = "my_project/my_repo"
    gitlab_token = "{{ project_access_token }}"
  }
}

As these integrations are considered legacy, it would be nice to have support for non-legacy intrations / plugins. I imagine for instance, a resource like:

resource "sentry_organization_plugin" "gitlab" {
  organization = sentry_organization.my_org.id
  plugin       = "gitlab"

  config = {
    url = "https://gitlab.example.com",
    client_id = "{{ application_id_from_gitlab_application }}"
    client_secret = "{{ application_secret_from_gitlab_application }}"
  }
}
dmitry-mightydevops commented 8 months ago

Is this provider officially supported by the sentry team? @jianyuan