[BUG]: Cannot import github_repository into child module when authenticating with GitHub App installation token #2262
Labels
Status: Triage
This is being looked at and prioritized
Type: Bug
Something isn't working as documented
Expected Behavior
Plan is successful and displays resource
module.test.github_repository.this
to be importedActual Behavior
Plan errors with message
Terraform Version
Terraform v1.7.3 on Terraform Cloud remote runner + registry.terraform.io/integrations/github v6.2.1
also tried Terraform v1.8
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
terraform_github_app_id
,terraform_github_app_installation_id
andterraform_github_app_pem_file
in Terraform Cloud workspace orgithub.tfvars
fileterraform plan
(when using Terraform Cloud remote runs) orterraform plan -var-file github.tfvars
(when running locally)When using the GITHUB_TOKEN environment variable to authenticate, the plan is successful with the expected output.
Debug Output
Panic Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: