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

[BUG]: github_repository gets 403 error on Pages API even though there's no page #2335

Open
1 task done
garysassano opened this issue Jul 30, 2024 · 0 comments
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

Comments

@garysassano
Copy link
Contributor

garysassano commented Jul 30, 2024

Expected Behavior

Terraform plan to succeed.

Actual Behavior

  # 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
@garysassano garysassano added Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented labels Jul 30, 2024
@kfcampbell kfcampbell added Status: Up for grabs Issues that are ready to be worked on by anyone and removed Status: Triage This is being looked at and prioritized labels Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Up for grabs Issues that are ready to be worked on by anyone Type: Bug Something isn't working as documented
Projects
None yet
Development

No branches or pull requests

2 participants