-
Notifications
You must be signed in to change notification settings - Fork 741
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
[MAINT]: plugin crashes trying to create actions runner group #1633
Comments
We are also facing this blocking issue with version 5.22.0 . EDIT : after better analyze, the issue we face is in fact #1524 . As a temporary workaround, we had to downgrade to release 5.14.0
|
Could you please provide a small reproductive example? |
This should get you what you need.
Can you confirm permissions needed by the GITHUB_TOKEN to create a runner group? Maybe I didn't set that correctly? |
Thank you. According to these docs, the required permissions scope is Regardless, it would be nice if the provider could handle these situations more gracefully. |
What does that translate to in the permissions for the token on the runner set in the |
The default token on the runner does not have enterprise scopes available. In order to manipulate enterprise-level resources, you'll need a personal access token or a GitHub App. |
But these runners are at the Org level |
Oh, my mistake. In that case, the required permissions are |
Perhaps I was thinking about this incorrectly. I'm using Repositories: Organizations
am I missing something here? |
oh, i just saw that apps don't support all endpoints. It looks like runner groups is not supported, unless i missed it here |
Oh gosh, you're right, that's obnoxious. Perhaps we should document that in the provider as well in the hope of reducing confusion. |
I've confirmed this works when using a fine grained access token! |
👋 Hey Friends, this issue has been automatically marked as |
Describe the need
I am trying to create an actions runner group using a GitHub App Token with Org Admin write permission:
This results in:
SDK Version
terraform-provider-github_v5.18.3
API Version
No response
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: