jianyuan/terraform-provider-sentry

Impossible to create user in team with admin role, bug?

Opened this issue · 3 comments

max107 commented

Here https://github.com/jianyuan/terraform-provider-sentry/blob/main/sentry/resource_sentry_organization_member.go#L44-L47 we can see no admin role is available, but in 0.10.0 release admin described in documentation. It's a bug?

image

Error: expected role to be one of ["billing" "member" "manager" "owner"], got admin

Hi @max107, this may be due to Sentry repurposing the "Admin" role from an org-level role to a team-level role.

Can you please confirm your Sentry plan (Developer, Team, or Business) and whether the option to invite a user as an Admin is disabled like in my screenshot?

Many thanks!

image

max107 commented

hi @jianyuan.

Can you please confirm your Sentry plan (Developer, Team, or Business)

i'am use self-hosted sentry (onpremise)

I have the same problem