Expected Behavior
We use github_repository_file data and resource objects to provision files in repositories from a central repo. It should basically push these files there based upon a central template.
Actual Behavior
Since version 6.9.0 the plugin crashes when it tries to fetch data objects or provision resources.
Terraform Version
Terraform v1.14.1
terraform-provider-github_v6.9.0
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
No response
Debug Output
Stack trace from the terraform-provider-github_v6.9.0 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xc84376]
goroutine 2378 [running]:
github.com/integrations/terraform-provider-github/v6/github.dataSourceGithubRepositoryFileRead({0x120ffd8, 0xc0005a05b0}, 0xc00099c510, {0xe55200?, 0xc0003ca180?})
github.com/integrations/terraform-provider-github/v6/github/data_source_github_repository_file.go:104 +0x496
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc000186a00, {0x120ff30, 0xc000935740}, 0xc00099c510, {0xe55200, 0xc0003ca180})
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:866 +0x119
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).ReadDataApply(0xc000186a00, {0x120ff30, 0xc000935740}, 0x0?, {0xe55200, 0xc0003ca180})
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:1088 +0x13e
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadDataSource(0xc000372228, {0x120ff30?, 0xc000935680?}, 0xc000935620)
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:1889 +0x6ac
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadDataSource(0xc00018b400, {0x120ff30?, 0xc000934a50?}, 0xc000b0c280)
github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:736 +0x26d
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadDataSource_Handler({0x1063980, 0xc00018b400}, {0x120ff30, 0xc000934a50}, 0xc000c1c080, 0x0)
github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:843 +0x1a9
google.golang.org/grpc.(*Server).processUnaryRPC(0xc00041c000, {0x120ff30, 0xc0009349c0}, 0xc000b18000, 0xc0002333b0, 0x19a7a10, 0x0)
google.golang.org/[email protected]/server.go:1431 +0x1036
google.golang.org/grpc.(*Server).handleStream(0xc00041c000, {0x1210838, 0xc00018e000}, 0xc000b18000)
google.golang.org/[email protected]/server.go:1842 +0xb88
google.golang.org/grpc.(*Server).serveStreams.func2.1()
google.golang.org/[email protected]/server.go:1061 +0x7f
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 54
google.golang.org/[email protected]/server.go:1072 +0x11d
Error: The terraform-provider-github_v6.9.0 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
Panic Output
Code of Conduct
Expected Behavior
We use
github_repository_filedata and resource objects to provision files in repositories from a central repo. It should basically push these files there based upon a central template.Actual Behavior
Since version 6.9.0 the plugin crashes when it tries to fetch data objects or provision resources.
Terraform Version
Terraform v1.14.1
terraform-provider-github_v6.9.0
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
No response
Debug Output
Panic Output
Code of Conduct