Expected Behavior
Read non-existing file from repository.
Thanks to this issue, I found about some bug in my code ... I'm reading files from repositories, and in some case the file I'm reading does not exist.
Trying my code with v6.8.3, I can get the "expected" result, some default dict:
Changes to Outputs:
+ toto = {
+ "2023.33.6" = {
+ foo = "bar"
}
}
Upgrading to v6.9.0, instead I would get a crash.
While I'll fix my code not to read non-existing files: having terraform crashing here is probably not the best way to error.
Actual Behavior
Crashes
Terraform Version
Terraform v1.13.5
on linux_amd64
- provider registry.terraform.io/hashicorp/local v2.6.1
- provider registry.terraform.io/integrations/github v6.9.0
Your version of Terraform is out of date! The latest version
is 1.14.2. You can update by downloading from https://developer.hashicorp.com/terraform/install
Affected Resource(s)
- github_repository_file datasource
Terraform Configuration Files
variable "GITHUB_TOKEN" {
sensitive = true
}
terraform {
required_version = ">= 1.0"
required_providers {
github = {
source = "integrations/github"
version = "6.9.0"
}
}
}
###
locals {
github = {
base_url = "https://github.example.com/"
owner = "MyOrg"
}
}
provider "github" {
base_url = local.github.base_url
owner = local.github.owner
token = var.GITHUB_TOKEN
}
locals {
unique_releases = ["2023.33.6"]
}
data "github_repository_file" "release_assets" {
for_each = toset(local.unique_releases)
repository = "my_releases_repo"
branch = "master"
file = "releases/${each.key}/assets/release-tags.yml"
}
output "toto" {
value = {
for k in local.unique_releases :
k => try(yamldecode(data.github_repository_file.release_assets[k].content), { "foo" = "bar" })
}
}
Steps to Reproduce
terraform init --upgrade && terraform plan -out plan
Debug Output
2025-12-16T10:56:13.390Z [INFO] Terraform version: 1.13.5
2025-12-16T10:56:13.390Z [DEBUG] using github.com/hashicorp/go-tfe v1.74.1
2025-12-16T10:56:13.390Z [DEBUG] using github.com/hashicorp/hcl/v2 v2.24.0
2025-12-16T10:56:13.390Z [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2025-12-16T10:56:13.390Z [DEBUG] using github.com/zclconf/go-cty v1.16.3
2025-12-16T10:56:13.390Z [INFO] Go runtime version: go1.24.5
2025-12-16T10:56:13.390Z [INFO] CLI args: []string{"terraform", "plan", "-out", "plan"}
2025-12-16T10:56:13.390Z [DEBUG] Attempting to open CLI config file: /home/genesis/.terraformrc
2025-12-16T10:56:13.390Z [INFO] Loading CLI configuration from /home/genesis/.terraformrc
2025-12-16T10:56:13.390Z [DEBUG] checking for credentials in "/home/genesis/.terraform.d/plugins"
2025-12-16T10:56:13.390Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2025-12-16T10:56:13.390Z [DEBUG] will search for provider plugins in /home/genesis/.terraform.d/plugins
2025-12-16T10:56:13.391Z [DEBUG] ignoring non-existing provider search directory /home/genesis/.local/share/terraform/plugins
2025-12-16T10:56:13.391Z [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2025-12-16T10:56:13.391Z [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2025-12-16T10:56:13.391Z [INFO] CLI command args: []string{"plan", "-out", "plan"}
2025-12-16T10:56:13.413Z [DEBUG] checking for provisioner in "."
2025-12-16T10:56:13.413Z [DEBUG] checking for provisioner in "/usr/local/bin"
2025-12-16T10:56:13.413Z [DEBUG] checking for provisioner in "/home/genesis/.terraform.d/plugins"
2025-12-16T10:56:13.414Z [INFO] backend/local: starting Plan operation
2025-12-16T10:56:13.414Z [DEBUG] created provider logger: level=debug
2025-12-16T10:56:13.414Z [INFO] provider: configuring client automatic mTLS
2025-12-16T10:56:13.425Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 args=[".terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0"]
2025-12-16T10:56:13.425Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 pid=5017
2025-12-16T10:56:13.425Z [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0
2025-12-16T10:56:13.429Z [INFO] provider.terraform-provider-github_v6.9.0: configuring server automatic mTLS: timestamp=2025-12-16T10:56:13.428Z
2025-12-16T10:56:13.441Z [DEBUG] provider.terraform-provider-github_v6.9.0: plugin address: address=/tmp/plugin2785276520 network=unix timestamp=2025-12-16T10:56:13.441Z
2025-12-16T10:56:13.441Z [DEBUG] provider: using plugin: version=5
2025-12-16T10:56:13.461Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2025-12-16T10:56:13.462Z [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 id=5017
2025-12-16T10:56:13.462Z [DEBUG] provider: plugin exited
2025-12-16T10:56:13.462Z [DEBUG] Building and walking validate graph
2025-12-16T10:56:13.462Z [DEBUG] ProviderTransformer: "data.github_repository_file.release_assets" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/integrations/github"]
2025-12-16T10:56:13.462Z [DEBUG] ReferenceTransformer: "data.github_repository_file.release_assets" references: [local.unique_releases (expand)]
2025-12-16T10:56:13.462Z [DEBUG] ReferenceTransformer: "var.GITHUB_TOKEN" references: []
2025-12-16T10:56:13.462Z [DEBUG] ReferenceTransformer: "local.github (expand)" references: []
2025-12-16T10:56:13.462Z [DEBUG] ReferenceTransformer: "local.unique_releases (expand)" references: []
2025-12-16T10:56:13.462Z [DEBUG] ReferenceTransformer: "output.toto (expand)" references: [local.unique_releases (expand) data.github_repository_file.release_assets]
2025-12-16T10:56:13.462Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/integrations/github\"]" references: [var.GITHUB_TOKEN local.github (expand) local.github (expand)]
2025-12-16T10:56:13.462Z [DEBUG] Starting graph walk: walkValidate
2025-12-16T10:56:13.463Z [DEBUG] created provider logger: level=debug
2025-12-16T10:56:13.463Z [INFO] provider: configuring client automatic mTLS
2025-12-16T10:56:13.468Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 args=[".terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0"]
2025-12-16T10:56:13.468Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 pid=5033
2025-12-16T10:56:13.468Z [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0
2025-12-16T10:56:13.471Z [INFO] provider.terraform-provider-github_v6.9.0: configuring server automatic mTLS: timestamp=2025-12-16T10:56:13.471Z
2025-12-16T10:56:13.484Z [DEBUG] provider.terraform-provider-github_v6.9.0: plugin address: address=/tmp/plugin3719139165 network=unix timestamp=2025-12-16T10:56:13.484Z
2025-12-16T10:56:13.484Z [DEBUG] provider: using plugin: version=5
2025-12-16T10:56:13.495Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2025-12-16T10:56:13.496Z [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 id=5033
2025-12-16T10:56:13.496Z [DEBUG] provider: plugin exited
2025-12-16T10:56:13.496Z [INFO] backend/local: plan calling Plan
2025-12-16T10:56:13.496Z [DEBUG] Building and walking plan graph for NormalMode
2025-12-16T10:56:13.496Z [DEBUG] ProviderTransformer: "data.github_repository_file.release_assets (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/integrations/github"]
2025-12-16T10:56:13.496Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/integrations/github\"]" references: [local.github (expand) local.github (expand) var.GITHUB_TOKEN]
2025-12-16T10:56:13.496Z [DEBUG] ReferenceTransformer: "data.github_repository_file.release_assets (expand)" references: [local.unique_releases (expand)]
2025-12-16T10:56:13.496Z [DEBUG] ReferenceTransformer: "var.GITHUB_TOKEN" references: []
2025-12-16T10:56:13.496Z [DEBUG] ReferenceTransformer: "local.github (expand)" references: []
2025-12-16T10:56:13.496Z [DEBUG] ReferenceTransformer: "local.unique_releases (expand)" references: []
2025-12-16T10:56:13.496Z [DEBUG] ReferenceTransformer: "output.toto (expand)" references: [local.unique_releases (expand) data.github_repository_file.release_assets (expand)]
2025-12-16T10:56:13.496Z [DEBUG] Starting graph walk: walkPlan
2025-12-16T10:56:13.496Z [DEBUG] created provider logger: level=debug
2025-12-16T10:56:13.497Z [INFO] provider: configuring client automatic mTLS
2025-12-16T10:56:13.501Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 args=[".terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0"]
2025-12-16T10:56:13.501Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 pid=5045
2025-12-16T10:56:13.501Z [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0
2025-12-16T10:56:13.504Z [INFO] provider.terraform-provider-github_v6.9.0: configuring server automatic mTLS: timestamp=2025-12-16T10:56:13.504Z
2025-12-16T10:56:13.517Z [DEBUG] provider.terraform-provider-github_v6.9.0: plugin address: address=/tmp/plugin3294956476 network=unix timestamp=2025-12-16T10:56:13.517Z
2025-12-16T10:56:13.517Z [DEBUG] provider: using plugin: version=5
2025-12-16T10:56:13.526Z [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/integrations/github\"]" changed the config value, but that value is unused
2025-12-16T10:56:13.527Z [INFO] provider.terraform-provider-github_v6.9.0: 2025/12/16 10:56:13 [INFO] Selecting owner from GITHUB_OWNER environment variable: timestamp=2025-12-16T10:56:13.527Z
2025-12-16T10:56:13.527Z [INFO] provider.terraform-provider-github_v6.9.0: 2025/12/16 10:56:13 [INFO] Setting write_delay_ms to 1000: timestamp=2025-12-16T10:56:13.527Z
2025-12-16T10:56:13.527Z [INFO] provider.terraform-provider-github_v6.9.0: 2025/12/16 10:56:13 [DEBUG] Setting read_delay_ms to 0: timestamp=2025-12-16T10:56:13.527Z
2025-12-16T10:56:13.527Z [INFO] provider.terraform-provider-github_v6.9.0: 2025/12/16 10:56:13 [DEBUG] Setting retry_delay_ms to 0: timestamp=2025-12-16T10:56:13.527Z
2025-12-16T10:56:13.527Z [INFO] provider.terraform-provider-github_v6.9.0: 2025/12/16 10:56:13 [DEBUG] Setting max_retries to 3: timestamp=2025-12-16T10:56:13.527Z
2025-12-16T10:56:13.527Z [INFO] provider.terraform-provider-github_v6.9.0: 2025/12/16 10:56:13 [DEBUG] Setting retriableErrors to map[500:true 502:true 503:true 504:true]: timestamp=2025-12-16T10:56:13.527Z
2025-12-16T10:56:13.527Z [INFO] provider.terraform-provider-github_v6.9.0: 2025/12/16 10:56:13 [DEBUG] Setting max_per_page to 100: timestamp=2025-12-16T10:56:13.527Z
2025-12-16T10:56:13.527Z [INFO] provider.terraform-provider-github_v6.9.0: 2025/12/16 10:56:13 [DEBUG] Setting parallel_requests to false: timestamp=2025-12-16T10:56:13.527Z
2025-12-16T10:56:13.728Z [DEBUG] Resource instance state not found for node "data.github_repository_file.release_assets[\"2023.33.6\"]", instance data.github_repository_file.release_assets["2023.33.6"]
2025-12-16T10:56:13.728Z [DEBUG] ReferenceTransformer: "data.github_repository_file.release_assets[\"2023.33.6\"]" references: []
data.github_repository_file.release_assets["2023.33.6"]: Reading...
2025-12-16T10:56:13.730Z [DEBUG] provider.terraform-provider-github_v6.9.0: Sending HTTP Request: new_logger_warning="This log was generated by a subsystem logger that wasn't created before being used. Use tflog.NewSubsystem to create this logger before it is used." tf_http_req_uri=/api/v3/repos/MyOrg/my_releases_repo/contents/releases/2023.33.6/assets/release-tags.yml?ref=master Accept-Encoding=gzip Host=github.example.com tf_http_op_type=request tf_http_req_method=GET @caller=github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/logging/logging_http_transport.go:160 tf_http_req_body="" @module=provider.GitHub tf_http_req_version=HTTP/1.1 tf_http_trans_id=813d4738-d98d-f8be-fab7-f97b80b73ca3 Accept="application/vnd.github.v3+json,application/vnd.github.stone-crop-preview+json" User-Agent=go-github/v67.0.0 X-Github-Api-Version=2022-11-28 timestamp=2025-12-16T10:56:13.730Z
2025-12-16T10:56:13.844Z [DEBUG] provider.terraform-provider-github_v6.9.0: Received HTTP Response: tf_http_op_type=response tf_http_trans_id=813d4738-d98d-f8be-fab7-f97b80b73ca3 Access-Control-Expose-Headers="ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset" X-Xss-Protection=0 @module=provider.GitHub Content-Security-Policy="default-src 'none'" Date="Tue, 16 Dec 2025 10:56:13 GMT" Server=GitHub.com X-Github-Enterprise-Version=3.17.7 X-Ratelimit-Limit=12000 X-Accepted-Oauth-Scopes="" X-Ratelimit-Remaining=11649 @caller=github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/logging/logging_http_transport.go:160 Referrer-Policy="origin-when-cross-origin, strict-origin-when-cross-origin" Strict-Transport-Security="max-age=31536000; includeSubdomains" X-Frame-Options=deny X-Github-Media-Type="github.v3; param=stone-crop-preview; format=json" X-Ratelimit-Used=351 new_logger_warning="This log was generated by a subsystem logger that wasn't created before being used. Use tflog.NewSubsystem to create this logger before it is used." tf_http_res_status_code=404 Access-Control-Allow-Origin="*" Content-Type="application/json; charset=utf-8" X-Content-Type-Options=nosniff X-Github-Request-Id=f73e6c1a-44f5-4f87-94bd-6ef071b8c9ab X-Ratelimit-Reset=1765885848 tf_http_res_body="{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/[email protected]/rest/repos/contents#get-repository-content\",\"status\":\"404\"}" X-Github-Api-Version-Selected=2022-11-28 X-Oauth-Scopes="notifications, read:org, repo" X-Ratelimit-Resource=core tf_http_res_version=HTTP/2.0 tf_http_res_status_reason="404 Not Found" timestamp=2025-12-16T10:56:13.844Z
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: panic: runtime error: invalid memory address or nil pointer dereference
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xc84376]
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: goroutine 38 [running]:
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/integrations/terraform-provider-github/v6/github.dataSourceGithubRepositoryFileRead({0x120ffd8, 0xc00028e070}, 0xc0002a4000, {0xe55200?, 0xc00033b0c0?})
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/integrations/terraform-provider-github/v6/github/data_source_github_repository_file.go:104 +0x496
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc000587c00, {0x120ff30, 0xc0008023f0}, 0xc0002a4000, {0xe55200, 0xc00033b0c0})
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:866 +0x119
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).ReadDataApply(0xc000587c00, {0x120ff30, 0xc0008023f0}, 0x0?, {0xe55200, 0xc00033b0c0})
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:1088 +0x13e
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadDataSource(0xc00041c000, {0x120ff30?, 0xc000802330?}, 0xc0008022d0)
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:1889 +0x6ac
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadDataSource(0xc000294140, {0x120ff30?, 0xc000700390?}, 0xc000180af0)
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:736 +0x26d
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadDataSource_Handler({0x1063980, 0xc000294140}, {0x120ff30, 0xc000700390}, 0xc000058100, 0x0)
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:843 +0x1a9
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: google.golang.org/grpc.(*Server).processUnaryRPC(0xc000292200, {0x120ff30, 0xc000700300}, 0xc00050e0c0, 0xc000580c60, 0x19a7a10, 0x0)
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: google.golang.org/[email protected]/server.go:1431 +0x1036
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: google.golang.org/grpc.(*Server).handleStream(0xc000292200, {0x1210838, 0xc00018c000}, 0xc00050e0c0)
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: google.golang.org/[email protected]/server.go:1842 +0xb88
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: google.golang.org/grpc.(*Server).serveStreams.func2.1()
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: google.golang.org/[email protected]/server.go:1061 +0x7f
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 55
2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: google.golang.org/[email protected]/server.go:1072 +0x11d
2025-12-16T10:56:13.848Z [ERROR] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 id=5045 error="exit status 2"
2025-12-16T10:56:13.848Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2025-12-16T10:56:13.848Z [ERROR] plugin.(*GRPCProvider).ReadDataSource: error="rpc error: code = Unavailable desc = error reading from server: EOF"
2025-12-16T10:56:13.848Z [ERROR] vertex "data.github_repository_file.release_assets[\"2023.33.6\"]" error: Plugin did not respond
2025-12-16T10:56:13.848Z [ERROR] vertex "data.github_repository_file.release_assets (expand)" error: Plugin did not respond
2025-12-16T10:56:13.848Z [WARN] Planning encountered errors, so plan is not applyable
2025-12-16T10:56:13.849Z [INFO] backend/local: plan operation completed
2025-12-16T10:56:13.849Z [INFO] backend/local: writing plan output to: plan
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Plugin did not respond
│
│ with data.github_repository_file.release_assets["2023.33.6"],
│ on discover.release-assets.tf line 5, in data "github_repository_file" "release_assets":
│ 5: data "github_repository_file" "release_assets" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadDataSource call. The plugin logs may contain more details.
╵
Panic Output
$> tf plan -out plan
data.github_repository_file.release_assets["2023.33.6"]: Reading...
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Request cancelled
│
│ with data.github_repository_file.release_assets["2023.33.6"],
│ on discover.release-assets.tf line 5, in data "github_repository_file" "release_assets":
│ 5: data "github_repository_file" "release_assets" {
│
│ The plugin.(*GRPCProvider).ReadDataSource request was cancelled.
╵
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 98 [running]:
github.com/integrations/terraform-provider-github/v6/github.dataSourceGithubRepositoryFileRead({0x120ffd8, 0xc0002301c0}, 0xc000290ea0, {0xe55200?, 0xc0002a1f00?})
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(0xc0005a1200, {0x120ff30, 0xc000481560}, 0xc000290ea0, {0xe55200, 0xc0002a1f00})
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(0xc0005a1200, {0x120ff30, 0xc000481560}, 0x0?, {0xe55200, 0xc0002a1f00})
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(0xc0005c4000, {0x120ff30?, 0xc0004814a0?}, 0xc000481440)
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(0xc0005c8000, {0x120ff30?, 0xc0004807b0?}, 0xc0001427d0)
github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:736 +0x26d
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadDataSource_Handler({0x1063980, 0xc0005c8000}, {0x120ff30, 0xc0004807b0}, 0xc0004bc700, 0x0)
github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:843 +0x1a9
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000280200, {0x120ff30, 0xc0004806c0}, 0xc000696240, 0xc0005988d0, 0x19a7a10, 0x0)
google.golang.org/[email protected]/server.go:1431 +0x1036
google.golang.org/grpc.(*Server).handleStream(0xc000280200, {0x1210838, 0xc00059e820}, 0xc000696240)
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 71
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.
Code of Conduct
Expected Behavior
Read non-existing file from repository.
Thanks to this issue, I found about some bug in my code ... I'm reading files from repositories, and in some case the file I'm reading does not exist.
Trying my code with v6.8.3, I can get the "expected" result, some default dict:
Upgrading to v6.9.0, instead I would get a crash.
While I'll fix my code not to read non-existing files: having terraform crashing here is probably not the best way to error.
Actual Behavior
Crashes
Terraform Version
Terraform v1.13.5
on linux_amd64
Your version of Terraform is out of date! The latest version
is 1.14.2. You can update by downloading from https://developer.hashicorp.com/terraform/install
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
terraform init --upgrade && terraform plan -out planDebug Output
2025-12-16T10:56:13.390Z [INFO] Terraform version: 1.13.5 2025-12-16T10:56:13.390Z [DEBUG] using github.com/hashicorp/go-tfe v1.74.1 2025-12-16T10:56:13.390Z [DEBUG] using github.com/hashicorp/hcl/v2 v2.24.0 2025-12-16T10:56:13.390Z [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1 2025-12-16T10:56:13.390Z [DEBUG] using github.com/zclconf/go-cty v1.16.3 2025-12-16T10:56:13.390Z [INFO] Go runtime version: go1.24.5 2025-12-16T10:56:13.390Z [INFO] CLI args: []string{"terraform", "plan", "-out", "plan"} 2025-12-16T10:56:13.390Z [DEBUG] Attempting to open CLI config file: /home/genesis/.terraformrc 2025-12-16T10:56:13.390Z [INFO] Loading CLI configuration from /home/genesis/.terraformrc 2025-12-16T10:56:13.390Z [DEBUG] checking for credentials in "/home/genesis/.terraform.d/plugins" 2025-12-16T10:56:13.390Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins 2025-12-16T10:56:13.390Z [DEBUG] will search for provider plugins in /home/genesis/.terraform.d/plugins 2025-12-16T10:56:13.391Z [DEBUG] ignoring non-existing provider search directory /home/genesis/.local/share/terraform/plugins 2025-12-16T10:56:13.391Z [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins 2025-12-16T10:56:13.391Z [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins 2025-12-16T10:56:13.391Z [INFO] CLI command args: []string{"plan", "-out", "plan"} 2025-12-16T10:56:13.413Z [DEBUG] checking for provisioner in "." 2025-12-16T10:56:13.413Z [DEBUG] checking for provisioner in "/usr/local/bin" 2025-12-16T10:56:13.413Z [DEBUG] checking for provisioner in "/home/genesis/.terraform.d/plugins" 2025-12-16T10:56:13.414Z [INFO] backend/local: starting Plan operation 2025-12-16T10:56:13.414Z [DEBUG] created provider logger: level=debug 2025-12-16T10:56:13.414Z [INFO] provider: configuring client automatic mTLS 2025-12-16T10:56:13.425Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 args=[".terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0"] 2025-12-16T10:56:13.425Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 pid=5017 2025-12-16T10:56:13.425Z [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 2025-12-16T10:56:13.429Z [INFO] provider.terraform-provider-github_v6.9.0: configuring server automatic mTLS: timestamp=2025-12-16T10:56:13.428Z 2025-12-16T10:56:13.441Z [DEBUG] provider.terraform-provider-github_v6.9.0: plugin address: address=/tmp/plugin2785276520 network=unix timestamp=2025-12-16T10:56:13.441Z 2025-12-16T10:56:13.441Z [DEBUG] provider: using plugin: version=5 2025-12-16T10:56:13.461Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" 2025-12-16T10:56:13.462Z [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 id=5017 2025-12-16T10:56:13.462Z [DEBUG] provider: plugin exited 2025-12-16T10:56:13.462Z [DEBUG] Building and walking validate graph 2025-12-16T10:56:13.462Z [DEBUG] ProviderTransformer: "data.github_repository_file.release_assets" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/integrations/github"] 2025-12-16T10:56:13.462Z [DEBUG] ReferenceTransformer: "data.github_repository_file.release_assets" references: [local.unique_releases (expand)] 2025-12-16T10:56:13.462Z [DEBUG] ReferenceTransformer: "var.GITHUB_TOKEN" references: [] 2025-12-16T10:56:13.462Z [DEBUG] ReferenceTransformer: "local.github (expand)" references: [] 2025-12-16T10:56:13.462Z [DEBUG] ReferenceTransformer: "local.unique_releases (expand)" references: [] 2025-12-16T10:56:13.462Z [DEBUG] ReferenceTransformer: "output.toto (expand)" references: [local.unique_releases (expand) data.github_repository_file.release_assets] 2025-12-16T10:56:13.462Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/integrations/github\"]" references: [var.GITHUB_TOKEN local.github (expand) local.github (expand)] 2025-12-16T10:56:13.462Z [DEBUG] Starting graph walk: walkValidate 2025-12-16T10:56:13.463Z [DEBUG] created provider logger: level=debug 2025-12-16T10:56:13.463Z [INFO] provider: configuring client automatic mTLS 2025-12-16T10:56:13.468Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 args=[".terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0"] 2025-12-16T10:56:13.468Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 pid=5033 2025-12-16T10:56:13.468Z [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 2025-12-16T10:56:13.471Z [INFO] provider.terraform-provider-github_v6.9.0: configuring server automatic mTLS: timestamp=2025-12-16T10:56:13.471Z 2025-12-16T10:56:13.484Z [DEBUG] provider.terraform-provider-github_v6.9.0: plugin address: address=/tmp/plugin3719139165 network=unix timestamp=2025-12-16T10:56:13.484Z 2025-12-16T10:56:13.484Z [DEBUG] provider: using plugin: version=5 2025-12-16T10:56:13.495Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" 2025-12-16T10:56:13.496Z [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 id=5033 2025-12-16T10:56:13.496Z [DEBUG] provider: plugin exited 2025-12-16T10:56:13.496Z [INFO] backend/local: plan calling Plan 2025-12-16T10:56:13.496Z [DEBUG] Building and walking plan graph for NormalMode 2025-12-16T10:56:13.496Z [DEBUG] ProviderTransformer: "data.github_repository_file.release_assets (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/integrations/github"] 2025-12-16T10:56:13.496Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/integrations/github\"]" references: [local.github (expand) local.github (expand) var.GITHUB_TOKEN] 2025-12-16T10:56:13.496Z [DEBUG] ReferenceTransformer: "data.github_repository_file.release_assets (expand)" references: [local.unique_releases (expand)] 2025-12-16T10:56:13.496Z [DEBUG] ReferenceTransformer: "var.GITHUB_TOKEN" references: [] 2025-12-16T10:56:13.496Z [DEBUG] ReferenceTransformer: "local.github (expand)" references: [] 2025-12-16T10:56:13.496Z [DEBUG] ReferenceTransformer: "local.unique_releases (expand)" references: [] 2025-12-16T10:56:13.496Z [DEBUG] ReferenceTransformer: "output.toto (expand)" references: [local.unique_releases (expand) data.github_repository_file.release_assets (expand)] 2025-12-16T10:56:13.496Z [DEBUG] Starting graph walk: walkPlan 2025-12-16T10:56:13.496Z [DEBUG] created provider logger: level=debug 2025-12-16T10:56:13.497Z [INFO] provider: configuring client automatic mTLS 2025-12-16T10:56:13.501Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 args=[".terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0"] 2025-12-16T10:56:13.501Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 pid=5045 2025-12-16T10:56:13.501Z [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 2025-12-16T10:56:13.504Z [INFO] provider.terraform-provider-github_v6.9.0: configuring server automatic mTLS: timestamp=2025-12-16T10:56:13.504Z 2025-12-16T10:56:13.517Z [DEBUG] provider.terraform-provider-github_v6.9.0: plugin address: address=/tmp/plugin3294956476 network=unix timestamp=2025-12-16T10:56:13.517Z 2025-12-16T10:56:13.517Z [DEBUG] provider: using plugin: version=5 2025-12-16T10:56:13.526Z [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/integrations/github\"]" changed the config value, but that value is unused 2025-12-16T10:56:13.527Z [INFO] provider.terraform-provider-github_v6.9.0: 2025/12/16 10:56:13 [INFO] Selecting owner from GITHUB_OWNER environment variable: timestamp=2025-12-16T10:56:13.527Z 2025-12-16T10:56:13.527Z [INFO] provider.terraform-provider-github_v6.9.0: 2025/12/16 10:56:13 [INFO] Setting write_delay_ms to 1000: timestamp=2025-12-16T10:56:13.527Z 2025-12-16T10:56:13.527Z [INFO] provider.terraform-provider-github_v6.9.0: 2025/12/16 10:56:13 [DEBUG] Setting read_delay_ms to 0: timestamp=2025-12-16T10:56:13.527Z 2025-12-16T10:56:13.527Z [INFO] provider.terraform-provider-github_v6.9.0: 2025/12/16 10:56:13 [DEBUG] Setting retry_delay_ms to 0: timestamp=2025-12-16T10:56:13.527Z 2025-12-16T10:56:13.527Z [INFO] provider.terraform-provider-github_v6.9.0: 2025/12/16 10:56:13 [DEBUG] Setting max_retries to 3: timestamp=2025-12-16T10:56:13.527Z 2025-12-16T10:56:13.527Z [INFO] provider.terraform-provider-github_v6.9.0: 2025/12/16 10:56:13 [DEBUG] Setting retriableErrors to map[500:true 502:true 503:true 504:true]: timestamp=2025-12-16T10:56:13.527Z 2025-12-16T10:56:13.527Z [INFO] provider.terraform-provider-github_v6.9.0: 2025/12/16 10:56:13 [DEBUG] Setting max_per_page to 100: timestamp=2025-12-16T10:56:13.527Z 2025-12-16T10:56:13.527Z [INFO] provider.terraform-provider-github_v6.9.0: 2025/12/16 10:56:13 [DEBUG] Setting parallel_requests to false: timestamp=2025-12-16T10:56:13.527Z 2025-12-16T10:56:13.728Z [DEBUG] Resource instance state not found for node "data.github_repository_file.release_assets[\"2023.33.6\"]", instance data.github_repository_file.release_assets["2023.33.6"] 2025-12-16T10:56:13.728Z [DEBUG] ReferenceTransformer: "data.github_repository_file.release_assets[\"2023.33.6\"]" references: [] data.github_repository_file.release_assets["2023.33.6"]: Reading... 2025-12-16T10:56:13.730Z [DEBUG] provider.terraform-provider-github_v6.9.0: Sending HTTP Request: new_logger_warning="This log was generated by a subsystem logger that wasn't created before being used. Use tflog.NewSubsystem to create this logger before it is used." tf_http_req_uri=/api/v3/repos/MyOrg/my_releases_repo/contents/releases/2023.33.6/assets/release-tags.yml?ref=master Accept-Encoding=gzip Host=github.example.com tf_http_op_type=request tf_http_req_method=GET @caller=github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/logging/logging_http_transport.go:160 tf_http_req_body="" @module=provider.GitHub tf_http_req_version=HTTP/1.1 tf_http_trans_id=813d4738-d98d-f8be-fab7-f97b80b73ca3 Accept="application/vnd.github.v3+json,application/vnd.github.stone-crop-preview+json" User-Agent=go-github/v67.0.0 X-Github-Api-Version=2022-11-28 timestamp=2025-12-16T10:56:13.730Z 2025-12-16T10:56:13.844Z [DEBUG] provider.terraform-provider-github_v6.9.0: Received HTTP Response: tf_http_op_type=response tf_http_trans_id=813d4738-d98d-f8be-fab7-f97b80b73ca3 Access-Control-Expose-Headers="ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset" X-Xss-Protection=0 @module=provider.GitHub Content-Security-Policy="default-src 'none'" Date="Tue, 16 Dec 2025 10:56:13 GMT" Server=GitHub.com X-Github-Enterprise-Version=3.17.7 X-Ratelimit-Limit=12000 X-Accepted-Oauth-Scopes="" X-Ratelimit-Remaining=11649 @caller=github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/logging/logging_http_transport.go:160 Referrer-Policy="origin-when-cross-origin, strict-origin-when-cross-origin" Strict-Transport-Security="max-age=31536000; includeSubdomains" X-Frame-Options=deny X-Github-Media-Type="github.v3; param=stone-crop-preview; format=json" X-Ratelimit-Used=351 new_logger_warning="This log was generated by a subsystem logger that wasn't created before being used. Use tflog.NewSubsystem to create this logger before it is used." tf_http_res_status_code=404 Access-Control-Allow-Origin="*" Content-Type="application/json; charset=utf-8" X-Content-Type-Options=nosniff X-Github-Request-Id=f73e6c1a-44f5-4f87-94bd-6ef071b8c9ab X-Ratelimit-Reset=1765885848 tf_http_res_body="{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/[email protected]/rest/repos/contents#get-repository-content\",\"status\":\"404\"}" X-Github-Api-Version-Selected=2022-11-28 X-Oauth-Scopes="notifications, read:org, repo" X-Ratelimit-Resource=core tf_http_res_version=HTTP/2.0 tf_http_res_status_reason="404 Not Found" timestamp=2025-12-16T10:56:13.844Z 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: panic: runtime error: invalid memory address or nil pointer dereference 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xc84376] 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: goroutine 38 [running]: 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/integrations/terraform-provider-github/v6/github.dataSourceGithubRepositoryFileRead({0x120ffd8, 0xc00028e070}, 0xc0002a4000, {0xe55200?, 0xc00033b0c0?}) 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/integrations/terraform-provider-github/v6/github/data_source_github_repository_file.go:104 +0x496 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc000587c00, {0x120ff30, 0xc0008023f0}, 0xc0002a4000, {0xe55200, 0xc00033b0c0}) 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:866 +0x119 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).ReadDataApply(0xc000587c00, {0x120ff30, 0xc0008023f0}, 0x0?, {0xe55200, 0xc00033b0c0}) 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:1088 +0x13e 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadDataSource(0xc00041c000, {0x120ff30?, 0xc000802330?}, 0xc0008022d0) 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:1889 +0x6ac 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadDataSource(0xc000294140, {0x120ff30?, 0xc000700390?}, 0xc000180af0) 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:736 +0x26d 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadDataSource_Handler({0x1063980, 0xc000294140}, {0x120ff30, 0xc000700390}, 0xc000058100, 0x0) 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:843 +0x1a9 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: google.golang.org/grpc.(*Server).processUnaryRPC(0xc000292200, {0x120ff30, 0xc000700300}, 0xc00050e0c0, 0xc000580c60, 0x19a7a10, 0x0) 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: google.golang.org/[email protected]/server.go:1431 +0x1036 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: google.golang.org/grpc.(*Server).handleStream(0xc000292200, {0x1210838, 0xc00018c000}, 0xc00050e0c0) 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: google.golang.org/[email protected]/server.go:1842 +0xb88 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: google.golang.org/grpc.(*Server).serveStreams.func2.1() 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: google.golang.org/[email protected]/server.go:1061 +0x7f 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 55 2025-12-16T10:56:13.847Z [DEBUG] provider.terraform-provider-github_v6.9.0: google.golang.org/[email protected]/server.go:1072 +0x11d 2025-12-16T10:56:13.848Z [ERROR] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/linux_amd64/terraform-provider-github_v6.9.0 id=5045 error="exit status 2" 2025-12-16T10:56:13.848Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" 2025-12-16T10:56:13.848Z [ERROR] plugin.(*GRPCProvider).ReadDataSource: error="rpc error: code = Unavailable desc = error reading from server: EOF" 2025-12-16T10:56:13.848Z [ERROR] vertex "data.github_repository_file.release_assets[\"2023.33.6\"]" error: Plugin did not respond 2025-12-16T10:56:13.848Z [ERROR] vertex "data.github_repository_file.release_assets (expand)" error: Plugin did not respond 2025-12-16T10:56:13.848Z [WARN] Planning encountered errors, so plan is not applyable 2025-12-16T10:56:13.849Z [INFO] backend/local: plan operation completed 2025-12-16T10:56:13.849Z [INFO] backend/local: writing plan output to: plan Planning failed. Terraform encountered an error while generating this plan. ╷ │ Error: Plugin did not respond │ │ with data.github_repository_file.release_assets["2023.33.6"], │ on discover.release-assets.tf line 5, in data "github_repository_file" "release_assets": │ 5: data "github_repository_file" "release_assets" { │ │ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadDataSource call. The plugin logs may contain more details. ╵Panic Output
Code of Conduct