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

Is this provider designed for multi orgs? #478

Open
chipzzz opened this issue Aug 23, 2024 · 1 comment
Open

Is this provider designed for multi orgs? #478

chipzzz opened this issue Aug 23, 2024 · 1 comment

Comments

@chipzzz
Copy link

chipzzz commented Aug 23, 2024

Creating a custom integration in 1 org and utilizing a the token to create a new org works. However If I now want to create objects within that new org I have to create a custom integration in that new org and utilize the newly created token from that org in order to perform actions in that new org.

Automating this would be a bit tough to manage. I.e - create new org, create integration (which i don't think it will allow to be outside of the UI since I don't have the new token to interact with new org), get the new token , create objects within new org.

Hence, the question is this terraform provider designed for multi-org management? Is there an overarching multi-org integration we can create with a token that has permissions to all orgs? Is there another way?

Otherwise utilzing the same token from the original org, yields, to over come this you have to create a new integration within new org and utilize the new token from the new org.

I'm on self hosted version of sentry.

403 You do not have permission to perform this action

@jianyuan

@chipzzz
Copy link
Author

chipzzz commented Aug 23, 2024

Actually, even just creating an org will yield the error, while the org is still created however.

│ Error: GET https://<endpoint>/api/0/organizations/test-2/: 403 You do not have permission to perform this action.
│ 
│   with module.org_entries["test-2"].sentry_organization.sentry_org,
│   on modules/org_create/main.tf line 1, in resource "sentry_organization" "sentry_org":
│    1: resource "sentry_organization" "sentry_org" {

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

No branches or pull requests

1 participant