Description
Expected Behavior
Hi, I'm trying to create a terraform github_app_installation_repository resource with github provider version ~>6.0 and when I run terraform apply I get the following error:
Error: Provider produced inconsistent result after apply │ │ When applying changes to │ module.test.github_app_installation_repository.app_installation, │ provider "provider[\"registry.terraform.io/integrations/github\"]" produced │ an unexpected new value: Root object was present, but now absent. │ │ This is a bug in the provider, which should be reported in the provider's │ own issue tracker. ╵ Error: Terraform exited with code 1. Error: Process completed with exit code 1.
I notice that this problem always happen when the repo name contains capital letter
Actual Behavior
terraform apply command fails with bug error in the provider
Terraform Version
terraform_version: 1.11.4
Affected Resource(s)
github_app_installation_repository
Terraform Configuration Files
#module
resource "github_app_installation_repository" "app_installation" {
installation_id = var.installation_id
repository = lower(var.project_name) ## Fix bug on upper-case repo name
}
Steps to Reproduce
terraform apply
Debug Output
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to
│ module.verifica_polizza_fideiussoria.github_app_installation_repository.app_installation,
│ provider "provider[\"registry.terraform.io/integrations/github\"]" produced
│ an unexpected new value: Root object was present, but now absent.
│
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.
╵
Error: Terraform exited with code 1.
Error: Process completed with exit code 1.
Panic Output
Code of Conduct
- I agree to follow this project's Code of Conduct