terraform-provider-sentry icon indicating copy to clipboard operation
terraform-provider-sentry copied to clipboard

Cannot set "bun" as platform

Open SoloW1ngPixy opened this issue 1 year ago • 1 comments

Hello,

I'm trying to configure a new project configured with "bun" platform.

My simple code

resource "sentry_project" "backend" {
  organization = "org-name"

  teams = ["my-team"]
  name  = "blablabla-${terraform.workspace}"
  slug  = "blablabla"

  platform    = "bun"
  resolve_age = 720

  default_rules = false
}

It return an error

│ Error: bun is not a valid platform
│ 
│   with sentry_project.backend,  
│   on sentry.tf line 21, in resource "sentry_project" "backend":
│   21:   platform    = "bun"
│ 
│ bun is not a valid platform

What's weird is if I set "bun" on the website and trying to change it into Terraform, it return

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # sentry_project.backend will be updated in-place
  ~ resource "sentry_project" "backend" {
        id                = "blablabla"
        name              = "blablabla-develop"
      ~ platform          = "bun" -> "javascript-react"
        # (14 unchanged attributes hidden)
    }

Sentry provider version : 0.12.2 Terraform version : Terraform v1.6.2 on linux_amd64

SoloW1ngPixy avatar Feb 21 '24 09:02 SoloW1ngPixy