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

Sentry Organization Member Resource

Open CameronHall opened this issue 2 years ago • 1 comments

Hello 👋 , I've created a sentry_organization_member resource. We've implemented this using my own fork at work and we're pretty happy with it. I wanted to share it with you as well.

Here's an example of how it works. Any feedback is appreciated 😄

# Create an organization member
resource "sentry_organization_member" "john_doe" {
  email = "[email protected]"
  role  = "member"
  teams = ["my-team"]
}

CameronHall avatar Jun 05 '22 12:06 CameronHall

FWIW I'm a total Go and Terraform Provider noob, and while I know this works - it's a product of guess work and I'd love any pointers.

CameronHall avatar Jun 05 '22 12:06 CameronHall

@jianyuan What is stopping this PR from getting merged? A lof of people seem to be looking for a way to do this

deiga avatar Sep 21 '22 11:09 deiga

@CameronHall It's a good start! I'd like to rename a few variables, tidy up the code to make it consistent and add additional tests before releasing it. I'll take over from here 😄 .

jianyuan avatar Oct 12 '22 22:10 jianyuan