[BUG]: github_app_installation_repositories allows modifying app for another org #2431
Open
1 task done
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
Expected Behavior
When setting the owner argument for the provider, a github_app_installation_repositories resource should only be allowed to modify app installations for the target Github org
Actual Behavior
When you are using a token that has access to multiple organizations and those organizations have repositories with the same name. You can modify the app installation in one org when targeting the other (repo steps below)
Terraform Version
Terraform v1.9.8
on darwin_arm64
Affected Resource(s)
Terraform Configuration Files
No response
Steps to Reproduce
The outcome will be that the selected repo was removed from the other organization instead of the organization specified in the owner argument of the provider
Debug Output
No response
Panic Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: