You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]: github_repository gets 403 error on Pages API even though there's no page #2335
# github_repository.this["my-repo"] will be updated in-place
~ resource"github_repository""this" {
id="my-repo"name="my-repo"# (36 unchanged attributes hidden)+template {
+include_all_branches=false+owner="foobar"+repository="repo-template"
}
}
Plan:0 to add, 4 to change, 0 to destroy.
Error: GET https://api.github.com/repos/foobar/repo-template/pages: 403 Resource not accessible by integration []
with github_repository.this["repo-template"],
on config.tf line 7, in resource "github_repository""this":7:resource"github_repository""this" {
Terraform Version
1.9.3
Affected Resource(s)
github_repository
Terraform Configuration Files
No response
Steps to Reproduce
No response
Debug Output
No response
Panic Output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
Reacted by bazilio91, Jürgen W, shrabok-bp and Victor Martinez
👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!
Activity
jurgenweber commentedon Oct 23, 2024
I have tried working aroudn this error with giving my Github app more permissions + trying an ignore_changes;
Any other ideas? This is completely breaking.
jurgenweber commentedon Oct 23, 2024
oh, yeah. So actually accepting the permissions upgrade for the app helps..... It now works as expected.
garysassano commentedon Oct 23, 2024
What permission did you add?
github-actions commentedon Dec 6, 2025
👋 Hey Friends, this issue has been automatically marked as
stalebecause it has no recent activity. It will be closed if no further activity occurs. Please add theStatus: Pinnedlabel if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!garysassano commentedon Feb 21, 2026
Keep.