Describe the need
The github_app_installation_repository currently looks for an organization, but the GitHub API endpoint also supports users.
A GitHub App installation refers to any user or organization account that has installed the app.
https://docs.github.com/en/rest/apps/installations?apiVersion=2022-11-28#about-github-app-installations
Tested with curl and it works (PAT token is required).
https://docs.github.com/en/rest/apps/installations?apiVersion=2022-11-28#add-a-repository-to-an-app-installation
SDK Version
No response
API Version
No response
Relevant log output
I'm using pulumi so maybe the output is different :)
error: sdk-v2/provider2.go:520: sdk.helper_schema: this resource can only be used in the context of an organization, "m0nsterrr" is a user: provider=github@6.3.2
error: 1 error occurred:
* this resource can only be used in the context of an organization, "m0nsterrr" is a user
Code of Conduct
Describe the need
The
github_app_installation_repositorycurrently looks for an organization, but the GitHub API endpoint also supports users.https://docs.github.com/en/rest/apps/installations?apiVersion=2022-11-28#about-github-app-installations
Tested with curl and it works (PAT token is required).
https://docs.github.com/en/rest/apps/installations?apiVersion=2022-11-28#add-a-repository-to-an-app-installation
SDK Version
No response
API Version
No response
Relevant log output
I'm using pulumi so maybe the output is different :)
Code of Conduct