Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"other" project platform not accepted #502

Closed
cysp opened this issue Oct 29, 2024 · 0 comments · Fixed by #505
Closed

"other" project platform not accepted #502

cysp opened this issue Oct 29, 2024 · 0 comments · Fixed by #505

Comments

@cysp
Copy link

cysp commented Oct 29, 2024

Hi, we recently attempted to update this provider from 0.13.2 to 0.14.0 but one of our projects started to raise validation errors during planning. It appears that support for the "other" value for not-explicitly-supported project platforms has been dropped in the supported platform updates in this version.

https://registry.terraform.io/providers/jianyuan/sentry/latest/docs/resources/project#platform

Error: Invalid Attribute Value Match
| Error: Invalid Attribute Value Match
│ 
│   with sentry_project.prd_web_mine,
│   on projects.tf line 593, in resource "sentry_project" "prd_web_mine":
│  593:   platform = "other"
│ 
│ Attribute platform value must be one of: ["android" "apple" "apple-ios"
│ "apple-macos" "bun" "capacitor" "cloudflare-pages" "cloudflare-workers"
│ "cordova" "dart" "deno" "dotnet" "dotnet-aspnet" "dotnet-aspnetcore"
│ "dotnet-awslambda" "dotnet-gcpfunctions" "dotnet-maui" "dotnet-uwp"
│ "dotnet-winforms" "dotnet-wpf" "dotnet-xamarin" "electron" "elixir"
│ "flutter" "go" "go-echo" "go-fasthttp" "go-fiber" "go-gin" "go-http"
│ "go-iris" "go-martini" "go-negroni" "ionic" "java" "java-log4j2"
│ "java-logback" "java-spring" "java-spring-boot" "javascript"
│ "javascript-angular" "javascript-astro" "javascript-ember"
│ "javascript-gatsby" "javascript-nextjs" "javascript-react"
│ "javascript-remix" "javascript-solid" "javascript-solidstart"
│ "javascript-svelte" "javascript-sveltekit" "javascript-nuxt"
│ "javascript-vue" "kotlin" "minidump" "native" "native-qt" "nintendo-switch"
│ "node" "node-awslambda" "node-azurefunctions" "node-connect" "node-express"
│ "node-fastify" "node-gcpfunctions" "node-hapi" "node-koa" "node-nestjs"
│ "php" "php-laravel" "php-symfony" "powershell" "python" "python-aiohttp"
│ "python-asgi" "python-awslambda" "python-bottle" "python-celery"
│ "python-chalice" "python-django" "python-falcon" "python-fastapi"
│ "python-flask" "python-gcpfunctions" "python-pylons" "python-pymongo"
│ "python-pyramid" "python-quart" "python-rq" "python-sanic"
│ "python-serverless" "python-starlette" "python-tornado" "python-tryton"
│ "python-wsgi" "react-native" "ruby" "ruby-rack" "ruby-rails" "rust" "unity"
│ "unreal"], got: "other"

The "other" value was special-cased in v0.13.2: https://github.com/jianyuan/terraform-provider-sentry/blob/v0.13.2/internal/sentryplatforms/sentryplatforms.go

@jianyuan jianyuan linked a pull request Oct 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant