Git Product home page Git Product logo

Comments (10)

mogagnon avatar mogagnon commented on May 25, 2024 1

Follows up for those that are interested. There are two pr to fix this bug, one is in sentry-go and the other one which is still a draft is here.

from terraform-provider-sentry.

jianyuan avatar jianyuan commented on May 25, 2024 1

Thanks for your draft PR, @mogagnon! I've adapted your changes to #172.

from terraform-provider-sentry.

brandonweng-db avatar brandonweng-db commented on May 25, 2024

Also seeing the same thing for our use case.

Would this just be adding this in resourceSentryProjectUpdate?

	platform := d.Get("team").(string)
	if platform != "" {
		params.Team = team
	}

from terraform-provider-sentry.

taiidani avatar taiidani commented on May 25, 2024

Running into the same problem on my side. The apply will no-op and the drift will persist into the next plan.

Slight iteration on @brandonweng-db

team := d.Get("team").(string)
if team != "" {
    params.Team = team
}

from terraform-provider-sentry.

bilalahmad99 avatar bilalahmad99 commented on May 25, 2024

facing same issue

from terraform-provider-sentry.

semangard avatar semangard commented on May 25, 2024

same issue

from terraform-provider-sentry.

jianyuan avatar jianyuan commented on May 25, 2024

It seems that the team name has been deprecated. Sentry just needs a unique slug, which is reflected in the web UI. I will look into this.

from terraform-provider-sentry.

everops-billm avatar everops-billm commented on May 25, 2024

I'm having this issue too. It would also be helpful to be able to add additional teams to a project using the project provider, like you can from the web UI, or conversely add projects to the teams resources, also like you can do in the Web UI.

from terraform-provider-sentry.

jebeaudet avatar jebeaudet commented on May 25, 2024

Any update on this? Thanks

from terraform-provider-sentry.

mogagnon avatar mogagnon commented on May 25, 2024

The problem comes from the way the API handles the addition of a team. Updating a team with the same call the provider does is deprecated.

The slug of new team for the project. Note, will be deprecated soon when multiple teams can have access to a project.

As far as I understand, the new way of managing a team for a project is with those two calls.

POST /projects/org_slug/project_slug/teams/teams_slug
DELETE /projects/org_slug/project_slug/teams/teams_slug

I have a fix on the way but as @everops-billm mentioned it would be nice to support multiple teams

from terraform-provider-sentry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.