Expected Behavior
Add new ruleset to organization rulesets
Actual Behavior
Durring apply plugin did not respond error occurs, and the ruleset is not created
Terraform Version
Terraform v1.15.0-alpha20251203
on windows_amd64
- provider registry.terraform.io/hashicorp/github v6.9.0
- provider registry.terraform.io/integrations/github v6.9.0
Affected Resource(s)
- github_organization_ruleset
Terraform Configuration Files
main.tf
terraform {
required_version = ">= 1.6.0"
required_providers {
github = {
source = "integrations/github"
version = "~> 6.0"
}
}
}
provider "github" {
owner = var.organization
token = var.github_token
base_url = var.github_base_url
}
branch-naming/main.tf
resource "github_organization_ruleset" "branch_naming_convention" {
name = "Branch Naming Convention"
target = "branch"
enforcement = "active"
conditions {
ref_name {
include = ["~ALL"]
exclude = []
}
repository_name {
include = ["~ALL"]
exclude = []
}
}
rules {
creation = true
update = true
deletion = true
required_linear_history = true
required_signatures = true
branch_name_pattern {
name = "example"
negate = false
operator = "starts_with"
pattern = "ex"
}
}
}
Steps to Reproduce
terraform apply -auto-approve
Debug Output
2025-12-16T10:54:27.944+0100 [INFO] Terraform version: 1.15.0 alpha20251203
2025-12-16T10:54:27.951+0100 [DEBUG] using github.com/hashicorp/go-tfe v1.94.0
2025-12-16T10:54:27.951+0100 [DEBUG] using github.com/hashicorp/hcl/v2 v2.24.0
2025-12-16T10:54:27.951+0100 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2025-12-16T10:54:27.951+0100 [DEBUG] using github.com/zclconf/go-cty v1.16.3
2025-12-16T10:54:27.951+0100 [INFO] Go runtime version: go1.25.4
2025-12-16T10:54:27.951+0100 [INFO] CLI args: []string{"C:\\ProgramData\\chocolatey\\lib\\terraform\\tools\\terraform.exe", "apply", "-auto-approve"}
2025-12-16T10:54:27.953+0100 [INFO] This build of Terraform allows using experimental features
2025-12-16T10:54:27.956+0100 [DEBUG] Attempting to open CLI config file: C:\Users\****\AppData\Roaming\terraform.rc
2025-12-16T10:54:27.956+0100 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2025-12-16T10:54:27.956+0100 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2025-12-16T10:54:27.956+0100 [DEBUG] ignoring non-existing provider search directory C:\Users\****\AppData\Roaming\terraform.d\plugins
2025-12-16T10:54:27.957+0100 [DEBUG] ignoring non-existing provider search directory C:\Users\****\AppData\Roaming\HashiCorp\Terraform\plugins
2025-12-16T10:54:27.957+0100 [INFO] CLI command args: []string{"apply", "-auto-approve"}
2025-12-16T10:54:28.013+0100 [DEBUG] checking for provisioner in "."
2025-12-16T10:54:28.013+0100 [DEBUG] checking for provisioner in "C:\\ProgramData\\chocolatey\\lib\\terraform\\tools"
2025-12-16T10:54:28.014+0100 [INFO] backend/local: starting Apply operation
2025-12-16T10:54:28.021+0100 [DEBUG] backend/local: will prompt for input of unset required variables [github_token]
2025-12-16T10:54:28.021+0100 [DEBUG] command: asking for input: "var.github_token"
2025-12-16T10:54:36.345+0100 [DEBUG] created provider logger: level=debug
2025-12-16T10:54:36.345+0100 [INFO] provider: configuring client automatic mTLS
2025-12-16T10:54:36.361+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe args=[".terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe"]
2025-12-16T10:54:36.454+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe pid=38332
2025-12-16T10:54:36.454+0100 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe
2025-12-16T10:54:36.476+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: configuring server automatic mTLS: timestamp="2025-12-16T10:54:36.469+0100"
2025-12-16T10:54:36.482+0100 [DEBUG] provider.terraform-provider-github_v6.9.0.exe: plugin address: network=tcp address=127.0.0.1:10000 timestamp="2025-12-16T10:54:36.482+0100"
2025-12-16T10:54:36.482+0100 [DEBUG] provider: using plugin: version=5
2025-12-16T10:54:36.508+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2025-12-16T10:54:36.510+0100 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe id=38332
2025-12-16T10:54:36.510+0100 [DEBUG] provider: plugin exited
2025-12-16T10:54:36.510+0100 [DEBUG] created provider logger: level=debug
2025-12-16T10:54:36.510+0100 [INFO] provider: configuring client automatic mTLS
2025-12-16T10:54:36.513+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe args=[".terraform/providers/registry.terraform.io/integrations/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe"]
2025-12-16T10:54:36.595+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe pid=22912
2025-12-16T10:54:36.595+0100 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe
2025-12-16T10:54:36.624+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: configuring server automatic mTLS: timestamp="2025-12-16T10:54:36.617+0100"
2025-12-16T10:54:36.635+0100 [DEBUG] provider.terraform-provider-github_v6.9.0.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp="2025-12-16T10:54:36.635+0100"
2025-12-16T10:54:36.635+0100 [DEBUG] provider: using plugin: version=5
2025-12-16T10:54:36.653+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2025-12-16T10:54:36.656+0100 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe id=22912
2025-12-16T10:54:36.656+0100 [DEBUG] provider: plugin exited
2025-12-16T10:54:36.656+0100 [DEBUG] Building and walking validate graph
2025-12-16T10:54:36.656+0100 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/github"], implied first by module.branch_naming.github_organization_ruleset.branch_naming_convention
2025-12-16T10:54:36.656+0100 [DEBUG] ProviderTransformer: "module.branch_naming.github_organization_ruleset.branch_naming_convention" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/github"]
2025-12-16T10:54:36.656+0100 [DEBUG] pruning unused provider["registry.terraform.io/integrations/github"]
2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "module.branch_naming (close)" references: []
2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "var.apply_pr_develop" references: []
2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "var.organization" references: []
2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "var.github_token" references: []
2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.output.ruleset_id (expand)" references: [module.branch_naming.github_organization_ruleset.branch_naming_convention]
2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "module.branch_naming (expand)" references: [var.apply_branch_naming]
2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.github_organization_ruleset.branch_naming_convention" references: []
2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "var.apply_pr_production" references: []
2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "var.github_base_url" references: []
2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "var.apply_branch_naming" references: []
2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.output.ruleset_name (expand)" references: [module.branch_naming.github_organization_ruleset.branch_naming_convention]
2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "output.branch_naming_ruleset_id (expand)" references: [var.apply_branch_naming module.branch_naming.output.ruleset_id (expand)]
2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/github\"]" references: []
2025-12-16T10:54:36.656+0100 [DEBUG] Starting graph walk: walkValidate
2025-12-16T10:54:36.657+0100 [DEBUG] created provider logger: level=debug
2025-12-16T10:54:36.657+0100 [INFO] provider: configuring client automatic mTLS
2025-12-16T10:54:36.659+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe args=[".terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe"]
2025-12-16T10:54:36.736+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe pid=4392
2025-12-16T10:54:36.736+0100 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe
2025-12-16T10:54:36.767+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: configuring server automatic mTLS: timestamp="2025-12-16T10:54:36.760+0100"
2025-12-16T10:54:36.773+0100 [DEBUG] provider.terraform-provider-github_v6.9.0.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp="2025-12-16T10:54:36.773+0100"
2025-12-16T10:54:36.773+0100 [DEBUG] provider: using plugin: version=5
2025-12-16T10:54:36.782+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2025-12-16T10:54:36.785+0100 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe id=4392
2025-12-16T10:54:36.785+0100 [DEBUG] provider: plugin exited
2025-12-16T10:54:36.785+0100 [INFO] backend/local: apply calling Plan
2025-12-16T10:54:36.785+0100 [DEBUG] Building and walking plan graph for NormalMode
2025-12-16T10:54:36.786+0100 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/github"], implied first by module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)
2025-12-16T10:54:36.786+0100 [DEBUG] ProviderTransformer: "module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/github"]
2025-12-16T10:54:36.786+0100 [DEBUG] pruning unused provider["registry.terraform.io/integrations/github"]
2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "var.apply_pr_production" references: []
2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "var.organization" references: []
2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.output.ruleset_id (expand)" references: [module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)]
2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.output.ruleset_name (expand)" references: [module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)]
2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)" references: []
2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "var.github_token" references: []
2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "var.github_base_url" references: []
2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "var.apply_pr_develop" references: []
2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "output.branch_naming_ruleset_id (expand)" references: [var.apply_branch_naming module.branch_naming.output.ruleset_id (expand)]
2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "module.branch_naming (expand)" references: [var.apply_branch_naming]
2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/github\"]" references: []
2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "module.branch_naming (close)" references: []
2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "var.apply_branch_naming" references: []
2025-12-16T10:54:36.786+0100 [DEBUG] Starting graph walk: walkPlan
2025-12-16T10:54:36.786+0100 [DEBUG] created provider logger: level=debug
2025-12-16T10:54:36.786+0100 [INFO] provider: configuring client automatic mTLS
2025-12-16T10:54:36.788+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe args=[".terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe"]
2025-12-16T10:54:36.850+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe pid=37424
2025-12-16T10:54:36.850+0100 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe
2025-12-16T10:54:36.888+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: configuring server automatic mTLS: timestamp="2025-12-16T10:54:36.881+0100"
2025-12-16T10:54:36.895+0100 [DEBUG] provider.terraform-provider-github_v6.9.0.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp="2025-12-16T10:54:36.895+0100"
2025-12-16T10:54:36.895+0100 [DEBUG] provider: using plugin: version=5
2025-12-16T10:54:36.907+0100 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/github\"]" changed the config value, but that value is unused
2025-12-16T10:54:36.908+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:36 [INFO] Selecting owner from GITHUB_OWNER environment variable: timestamp="2025-12-16T10:54:36.908+0100"
2025-12-16T10:54:36.988+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:36 [INFO] Setting write_delay_ms to 1000: timestamp="2025-12-16T10:54:36.984+0100"
2025-12-16T10:54:36.988+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:36 [DEBUG] Setting read_delay_ms to 0: timestamp="2025-12-16T10:54:36.984+0100"
2025-12-16T10:54:36.988+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:36 [DEBUG] Setting retry_delay_ms to 0: timestamp="2025-12-16T10:54:36.984+0100"
2025-12-16T10:54:36.988+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:36 [DEBUG] Setting max_retries to 3: timestamp="2025-12-16T10:54:36.988+0100"
2025-12-16T10:54:36.988+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:36 [DEBUG] Setting retriableErrors to map[500:true 502:true 503:true 504:true]: timestamp="2025-12-16T10:54:36.988+0100"
2025-12-16T10:54:36.988+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:36 [DEBUG] Setting max_per_page to 100: timestamp="2025-12-16T10:54:36.988+0100"
2025-12-16T10:54:36.988+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:36 [DEBUG] Setting parallel_requests to false: timestamp="2025-12-16T10:54:36.988+0100"
2025-12-16T10:54:36.988+0100 [DEBUG] Resource instance state not found for node "module.branch_naming[0].github_organization_ruleset.branch_naming_convention", instance module.branch_naming[0].github_organization_ruleset.branch_naming_convention
2025-12-16T10:54:36.988+0100 [DEBUG] ReferenceTransformer: "module.branch_naming[0].github_organization_ruleset.branch_naming_convention" references: []
2025-12-16T10:54:36.988+0100 [DEBUG] refresh: module.branch_naming[0].github_organization_ruleset.branch_naming_convention: no state, so not refreshing
2025-12-16T10:54:36.994+0100 [WARN] Provider "registry.terraform.io/hashicorp/github" produced an invalid plan for module.branch_naming[0].github_organization_ruleset.branch_naming_convention, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .conditions[0].repository_name[0].protected: planned value cty.False for a non-computed attribute
2025-12-16T10:54:36.995+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2025-12-16T10:54:36.998+0100 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe id=37424
2025-12-16T10:54:36.998+0100 [DEBUG] provider: plugin exited
2025-12-16T10:54:36.999+0100 [DEBUG] building apply graph to check for errors
2025-12-16T10:54:36.999+0100 [DEBUG] Resource state not found for node "module.branch_naming[0].github_organization_ruleset.branch_naming_convention", instance module.branch_naming[0].github_organization_ruleset.branch_naming_convention
2025-12-16T10:54:36.999+0100 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/github"], implied first by module.branch_naming[0].github_organization_ruleset.branch_naming_convention
2025-12-16T10:54:36.999+0100 [DEBUG] ProviderTransformer: "module.branch_naming[0].github_organization_ruleset.branch_naming_convention" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/github"]
2025-12-16T10:54:36.999+0100 [DEBUG] ProviderTransformer: "module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/github"]
2025-12-16T10:54:36.999+0100 [DEBUG] pruning unused provider["registry.terraform.io/integrations/github"]
2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "var.apply_branch_naming" references: []
2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "var.apply_pr_production" references: []
2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.output.ruleset_name (expand)" references: [module.branch_naming.github_organization_ruleset.branch_naming_convention (expand) module.branch_naming[0].github_organization_ruleset.branch_naming_convention module.branch_naming[0].github_organization_ruleset.branch_naming_convention]
2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)" references: []
2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "var.organization" references: []
2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "var.github_token" references: []
2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "var.github_base_url" references: []
2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "output.branch_naming_ruleset_id (expand)" references: [var.apply_branch_naming module.branch_naming.output.ruleset_id (expand)]
2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "module.branch_naming[0].github_organization_ruleset.branch_naming_convention" references: []
2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.output.ruleset_id (expand)" references: [module.branch_naming.github_organization_ruleset.branch_naming_convention (expand) module.branch_naming[0].github_organization_ruleset.branch_naming_convention module.branch_naming[0].github_organization_ruleset.branch_naming_convention]
2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/github\"]" references: []
2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "module.branch_naming (expand)" references: [var.apply_branch_naming]
2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "module.branch_naming (close)" references: []
2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "var.apply_pr_develop" references: []
2025-12-16T10:54:37.002+0100 [INFO] backend/local: apply calling Apply
2025-12-16T10:54:37.002+0100 [DEBUG] Building and walking apply graph for NormalMode plan
2025-12-16T10:54:37.002+0100 [DEBUG] Resource state not found for node "module.branch_naming[0].github_organization_ruleset.branch_naming_convention", instance module.branch_naming[0].github_organization_ruleset.branch_naming_convention
2025-12-16T10:54:37.002+0100 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/github"], implied first by module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)
2025-12-16T10:54:37.002+0100 [DEBUG] ProviderTransformer: "module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/github"]
2025-12-16T10:54:37.002+0100 [DEBUG] ProviderTransformer: "module.branch_naming[0].github_organization_ruleset.branch_naming_convention" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/github"]
2025-12-16T10:54:37.002+0100 [DEBUG] pruning unused provider["registry.terraform.io/integrations/github"]
2025-12-16T10:54:37.002+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/github\"]" references: []
2025-12-16T10:54:37.002+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)" references: []
2025-12-16T10:54:37.002+0100 [DEBUG] ReferenceTransformer: "var.github_base_url" references: []
2025-12-16T10:54:37.002+0100 [DEBUG] ReferenceTransformer: "var.apply_branch_naming" references: []
2025-12-16T10:54:37.002+0100 [DEBUG] ReferenceTransformer: "var.apply_pr_production" references: []
2025-12-16T10:54:37.002+0100 [DEBUG] ReferenceTransformer: "var.github_token" references: []
2025-12-16T10:54:37.003+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.output.ruleset_id (expand)" references: [module.branch_naming.github_organization_ruleset.branch_naming_convention (expand) module.branch_naming[0].github_organization_ruleset.branch_naming_convention module.branch_naming[0].github_organization_ruleset.branch_naming_convention]
2025-12-16T10:54:37.003+0100 [DEBUG] ReferenceTransformer: "output.branch_naming_ruleset_id (expand)" references: [var.apply_branch_naming module.branch_naming.output.ruleset_id (expand)]
2025-12-16T10:54:37.003+0100 [DEBUG] ReferenceTransformer: "module.branch_naming (close)" references: []
2025-12-16T10:54:37.003+0100 [DEBUG] ReferenceTransformer: "var.apply_pr_develop" references: []
2025-12-16T10:54:37.003+0100 [DEBUG] ReferenceTransformer: "var.organization" references: []
2025-12-16T10:54:37.003+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.output.ruleset_name (expand)" references: [module.branch_naming.github_organization_ruleset.branch_naming_convention (expand) module.branch_naming[0].github_organization_ruleset.branch_naming_convention module.branch_naming[0].github_organization_ruleset.branch_naming_convention]
2025-12-16T10:54:37.003+0100 [DEBUG] ReferenceTransformer: "module.branch_naming[0].github_organization_ruleset.branch_naming_convention" references: []
2025-12-16T10:54:37.003+0100 [DEBUG] ReferenceTransformer: "module.branch_naming (expand)" references: [var.apply_branch_naming]
2025-12-16T10:54:37.005+0100 [DEBUG] Starting graph walk: walkApply
2025-12-16T10:54:37.006+0100 [DEBUG] created provider logger: level=debug
2025-12-16T10:54:37.006+0100 [INFO] provider: configuring client automatic mTLS
2025-12-16T10:54:37.008+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe args=[".terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe"]
2025-12-16T10:54:37.083+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe pid=12340
2025-12-16T10:54:37.083+0100 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe
2025-12-16T10:54:37.110+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: configuring server automatic mTLS: timestamp="2025-12-16T10:54:37.103+0100"
2025-12-16T10:54:37.118+0100 [DEBUG] provider.terraform-provider-github_v6.9.0.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp="2025-12-16T10:54:37.118+0100"
2025-12-16T10:54:37.118+0100 [DEBUG] provider: using plugin: version=5
2025-12-16T10:54:37.127+0100 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/github\"]" changed the config value, but that value is unused
2025-12-16T10:54:37.128+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:37 [INFO] Selecting owner from GITHUB_OWNER environment variable: timestamp="2025-12-16T10:54:37.128+0100"
2025-12-16T10:54:37.213+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:37 [INFO] Setting write_delay_ms to 1000: timestamp="2025-12-16T10:54:37.213+0100"
2025-12-16T10:54:37.213+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:37 [DEBUG] Setting read_delay_ms to 0: timestamp="2025-12-16T10:54:37.213+0100"
2025-12-16T10:54:37.213+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:37 [DEBUG] Setting retry_delay_ms to 0: timestamp="2025-12-16T10:54:37.213+0100"
2025-12-16T10:54:37.213+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:37 [DEBUG] Setting max_retries to 3: timestamp="2025-12-16T10:54:37.213+0100"
2025-12-16T10:54:37.213+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:37 [DEBUG] Setting retriableErrors to map[500:true 502:true 503:true 504:true]: timestamp="2025-12-16T10:54:37.213+0100"
2025-12-16T10:54:37.213+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:37 [DEBUG] Setting max_per_page to 100: timestamp="2025-12-16T10:54:37.213+0100"
2025-12-16T10:54:37.213+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:37 [DEBUG] Setting parallel_requests to false: timestamp="2025-12-16T10:54:37.213+0100"
2025-12-16T10:54:37.216+0100 [WARN] Provider "registry.terraform.io/hashicorp/github" produced an invalid plan for module.branch_naming[0].github_organization_ruleset.branch_naming_convention, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .conditions[0].repository_name[0].protected: planned value cty.False for a non-computed attribute
2025-12-16T10:54:37.217+0100 [INFO] Starting apply for module.branch_naming[0].github_organization_ruleset.branch_naming_convention
2025-12-16T10:54:37.217+0100 [DEBUG] module.branch_naming[0].github_organization_ruleset.branch_naming_convention: applying the planned Create change
2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: panic: interface conversion: interface {} is nil, not string
2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe
2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: goroutine 29 [running]:
2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/integrations/terraform-provider-github/v6/github.resourceGithubRulesetObject(0xc0001f2630, {0x0, 0x0})
2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/integrations/terraform-provider-github/v6/github/respository_rules_utils.go:21 +0x434
2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/integrations/terraform-provider-github/v6/github.resourceGithubOrganizationRulesetCreate(0xc0001f2630, {0x147ec40, 0xc0004367c0})
2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/integrations/terraform-provider-github/v6/github/resource_github_organization_ruleset.go:593 +0x5d
2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0x1841790?, {0x1841790?, 0xc0005740f0?}, 0xd?, {0x147ec40?, 0xc0004367c0?})
2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:837 +0x15f
2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc00039db00, {0x1841790, 0xc0005740f0}, 0xc000553930, 0xc0001f2510, {0x147ec40, 0xc0004367c0})
2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:980 +0xb47
2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc0002e05d0, {0x1841790?, 0xc000574030?}, 0xc000530500)
2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:1499 +0x1085
2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc0003ee3c0, {0x1841790?, 0xc0004cd4d0?}, 0xc000532100)
2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:944 +0x3b9
2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x16901c0, 0xc0003ee3c0}, {0x1841790, 0xc0004cd4d0}, 0xc000532080, 0x0)
2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:789 +0x1a6
2025-12-16T10:54:37.223+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001e0400, {0x1841790, 0xc0004cd440}, 0xc0005360c0, 0xc0004cd0b0, 0x1ff05e8, 0x0)
2025-12-16T10:54:37.223+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: google.golang.org/[email protected]/server.go:1431 +0x1036
2025-12-16T10:54:37.223+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: google.golang.org/grpc.(*Server).handleStream(0xc0001e0400, {0x1842098, 0xc000397520}, 0xc0005360c0)
2025-12-16T10:54:37.223+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: google.golang.org/[email protected]/server.go:1842 +0xb88
2025-12-16T10:54:37.223+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: google.golang.org/grpc.(*Server).serveStreams.func2.1()
2025-12-16T10:54:37.223+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: google.golang.org/[email protected]/server.go:1061 +0x7f
2025-12-16T10:54:37.223+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 36
2025-12-16T10:54:37.223+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: google.golang.org/[email protected]/server.go:1072 +0x11d
2025-12-16T10:54:37.224+0100 [ERROR] plugin.(*GRPCProvider).ApplyResourceChange: error="rpc error: code = Unavailable desc = error reading from server: read tcp 127.0.0.1:60069->127.0.0.1:10000: wsarecv: Istniejące połączenie zostało gwałtownie zamknięte przez zdalnego hosta."
2025-12-16T10:54:37.224+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: read tcp 127.0.0.1:60069->127.0.0.1:10000: wsarecv: Istniejące połączenie zostało gwałtownie zamknięte przez zdalnego hosta."
2025-12-16T10:54:37.226+0100 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2025-12-16T10:54:37.226+0100 [ERROR] vertex "module.branch_naming[0].github_organization_ruleset.branch_naming_convention" error: Plugin did not respond
2025-12-16T10:54:37.227+0100 [ERROR] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe id=12340 error="exit status 2"
2025-12-16T10:54:37.230+0100 [DEBUG] provider: plugin exited
Panic Output
GitHub Personal Access Token with admin:org scope
Enter a value: ****
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following
symbols:
+ create
Terraform will perform the following actions:
# module.branch_naming[0].github_organization_ruleset.branch_naming_convention will be created
+ resource "github_organization_ruleset" "branch_naming_convention" {
+ enforcement = "active"
+ etag = (known after apply)
+ id = (known after apply)
+ name = "Branch Naming Convention"
+ node_id = (known after apply)
+ ruleset_id = (known after apply)
+ target = "branch"
+ conditions {
+ ref_name {
+ exclude = []
+ include = [
+ "~ALL",
]
}
+ repository_name {
+ exclude = []
+ include = [
+ "~ALL",
]
+ protected = false
}
}
+ rules {
+ creation = true
+ deletion = true
+ required_linear_history = true
+ required_signatures = true
+ update = true
+ branch_name_pattern {
+ name = "example"
+ negate = false
+ operator = "starts_with"
+ pattern = "ex"
}
}
}
Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ branch_naming_ruleset_id = (known after apply)
module.branch_naming[0].github_organization_ruleset.branch_naming_convention: Creating...
╷
│ Error: Plugin did not respond
│
│ with module.branch_naming[0].github_organization_ruleset.branch_naming_convention,
│ on modules\branch-naming\main.tf line 1, in resource "github_organization_ruleset" "branch_naming_convention":
│ 1: resource "github_organization_ruleset" "branch_naming_convention" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may
│ contain more details.
╵
Stack trace from the terraform-provider-github_v6.9.0.exe plugin:
panic: interface conversion: interface {} is nil, not string
goroutine 29 [running]:
github.com/integrations/terraform-provider-github/v6/github.resourceGithubRulesetObject(0xc0001f2630, {0x0, 0x0})
github.com/integrations/terraform-provider-github/v6/github/respository_rules_utils.go:21 +0x434
github.com/integrations/terraform-provider-github/v6/github.resourceGithubOrganizationRulesetCreate(0xc0001f2630, {0x147ec40, 0xc0004367c0})
github.com/integrations/terraform-provider-github/v6/github/resource_github_organization_ruleset.go:593 +0x5d
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0x1841790?, {0x1841790?, 0xc0005740f0?}, 0xd?, {0x147ec40?, 0xc0004367c0?})
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:837 +0x15f
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc00039db00, {0x1841790, 0xc0005740f0}, 0xc000553930, 0xc0001f2510, {0x147ec40, 0xc0004367c0})
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:980 +0xb47
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc0002e05d0, {0x1841790?, 0xc000574030?}, 0xc000530500)
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:1499 +0x1085
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc0003ee3c0, {0x1841790?, 0xc0004cd4d0?}, 0xc000532100)
github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:944 +0x3b9
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x16901c0, 0xc0003ee3c0}, {0x1841790, 0xc0004cd4d0}, 0xc000532080, 0x0)
github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:789 +0x1a6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001e0400, {0x1841790, 0xc0004cd440}, 0xc0005360c0, 0xc0004cd0b0, 0x1ff05e8, 0x0)
google.golang.org/[email protected]/server.go:1431 +0x1036
google.golang.org/grpc.(*Server).handleStream(0xc0001e0400, {0x1842098, 0xc000397520}, 0xc0005360c0)
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 36
google.golang.org/[email protected]/server.go:1072 +0x11d
Error: The terraform-provider-github_v6.9.0.exe 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
Add new ruleset to organization rulesets
Actual Behavior
Durring apply plugin did not respond error occurs, and the ruleset is not created
Terraform Version
Terraform v1.15.0-alpha20251203
on windows_amd64
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
terraform apply -auto-approve
Debug Output
2025-12-16T10:54:27.944+0100 [INFO] Terraform version: 1.15.0 alpha20251203 2025-12-16T10:54:27.951+0100 [DEBUG] using github.com/hashicorp/go-tfe v1.94.0 2025-12-16T10:54:27.951+0100 [DEBUG] using github.com/hashicorp/hcl/v2 v2.24.0 2025-12-16T10:54:27.951+0100 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1 2025-12-16T10:54:27.951+0100 [DEBUG] using github.com/zclconf/go-cty v1.16.3 2025-12-16T10:54:27.951+0100 [INFO] Go runtime version: go1.25.4 2025-12-16T10:54:27.951+0100 [INFO] CLI args: []string{"C:\\ProgramData\\chocolatey\\lib\\terraform\\tools\\terraform.exe", "apply", "-auto-approve"} 2025-12-16T10:54:27.953+0100 [INFO] This build of Terraform allows using experimental features 2025-12-16T10:54:27.956+0100 [DEBUG] Attempting to open CLI config file: C:\Users\****\AppData\Roaming\terraform.rc 2025-12-16T10:54:27.956+0100 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. 2025-12-16T10:54:27.956+0100 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins 2025-12-16T10:54:27.956+0100 [DEBUG] ignoring non-existing provider search directory C:\Users\****\AppData\Roaming\terraform.d\plugins 2025-12-16T10:54:27.957+0100 [DEBUG] ignoring non-existing provider search directory C:\Users\****\AppData\Roaming\HashiCorp\Terraform\plugins 2025-12-16T10:54:27.957+0100 [INFO] CLI command args: []string{"apply", "-auto-approve"} 2025-12-16T10:54:28.013+0100 [DEBUG] checking for provisioner in "." 2025-12-16T10:54:28.013+0100 [DEBUG] checking for provisioner in "C:\\ProgramData\\chocolatey\\lib\\terraform\\tools" 2025-12-16T10:54:28.014+0100 [INFO] backend/local: starting Apply operation 2025-12-16T10:54:28.021+0100 [DEBUG] backend/local: will prompt for input of unset required variables [github_token] 2025-12-16T10:54:28.021+0100 [DEBUG] command: asking for input: "var.github_token" 2025-12-16T10:54:36.345+0100 [DEBUG] created provider logger: level=debug 2025-12-16T10:54:36.345+0100 [INFO] provider: configuring client automatic mTLS 2025-12-16T10:54:36.361+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe args=[".terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe"] 2025-12-16T10:54:36.454+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe pid=38332 2025-12-16T10:54:36.454+0100 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe 2025-12-16T10:54:36.476+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: configuring server automatic mTLS: timestamp="2025-12-16T10:54:36.469+0100" 2025-12-16T10:54:36.482+0100 [DEBUG] provider.terraform-provider-github_v6.9.0.exe: plugin address: network=tcp address=127.0.0.1:10000 timestamp="2025-12-16T10:54:36.482+0100" 2025-12-16T10:54:36.482+0100 [DEBUG] provider: using plugin: version=5 2025-12-16T10:54:36.508+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" 2025-12-16T10:54:36.510+0100 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe id=38332 2025-12-16T10:54:36.510+0100 [DEBUG] provider: plugin exited 2025-12-16T10:54:36.510+0100 [DEBUG] created provider logger: level=debug 2025-12-16T10:54:36.510+0100 [INFO] provider: configuring client automatic mTLS 2025-12-16T10:54:36.513+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe args=[".terraform/providers/registry.terraform.io/integrations/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe"] 2025-12-16T10:54:36.595+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe pid=22912 2025-12-16T10:54:36.595+0100 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe 2025-12-16T10:54:36.624+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: configuring server automatic mTLS: timestamp="2025-12-16T10:54:36.617+0100" 2025-12-16T10:54:36.635+0100 [DEBUG] provider.terraform-provider-github_v6.9.0.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp="2025-12-16T10:54:36.635+0100" 2025-12-16T10:54:36.635+0100 [DEBUG] provider: using plugin: version=5 2025-12-16T10:54:36.653+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" 2025-12-16T10:54:36.656+0100 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/integrations/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe id=22912 2025-12-16T10:54:36.656+0100 [DEBUG] provider: plugin exited 2025-12-16T10:54:36.656+0100 [DEBUG] Building and walking validate graph 2025-12-16T10:54:36.656+0100 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/github"], implied first by module.branch_naming.github_organization_ruleset.branch_naming_convention 2025-12-16T10:54:36.656+0100 [DEBUG] ProviderTransformer: "module.branch_naming.github_organization_ruleset.branch_naming_convention" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/github"] 2025-12-16T10:54:36.656+0100 [DEBUG] pruning unused provider["registry.terraform.io/integrations/github"] 2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "module.branch_naming (close)" references: [] 2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "var.apply_pr_develop" references: [] 2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "var.organization" references: [] 2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "var.github_token" references: [] 2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.output.ruleset_id (expand)" references: [module.branch_naming.github_organization_ruleset.branch_naming_convention] 2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "module.branch_naming (expand)" references: [var.apply_branch_naming] 2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.github_organization_ruleset.branch_naming_convention" references: [] 2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "var.apply_pr_production" references: [] 2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "var.github_base_url" references: [] 2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "var.apply_branch_naming" references: [] 2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.output.ruleset_name (expand)" references: [module.branch_naming.github_organization_ruleset.branch_naming_convention] 2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "output.branch_naming_ruleset_id (expand)" references: [var.apply_branch_naming module.branch_naming.output.ruleset_id (expand)] 2025-12-16T10:54:36.656+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/github\"]" references: [] 2025-12-16T10:54:36.656+0100 [DEBUG] Starting graph walk: walkValidate 2025-12-16T10:54:36.657+0100 [DEBUG] created provider logger: level=debug 2025-12-16T10:54:36.657+0100 [INFO] provider: configuring client automatic mTLS 2025-12-16T10:54:36.659+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe args=[".terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe"] 2025-12-16T10:54:36.736+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe pid=4392 2025-12-16T10:54:36.736+0100 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe 2025-12-16T10:54:36.767+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: configuring server automatic mTLS: timestamp="2025-12-16T10:54:36.760+0100" 2025-12-16T10:54:36.773+0100 [DEBUG] provider.terraform-provider-github_v6.9.0.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp="2025-12-16T10:54:36.773+0100" 2025-12-16T10:54:36.773+0100 [DEBUG] provider: using plugin: version=5 2025-12-16T10:54:36.782+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" 2025-12-16T10:54:36.785+0100 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe id=4392 2025-12-16T10:54:36.785+0100 [DEBUG] provider: plugin exited 2025-12-16T10:54:36.785+0100 [INFO] backend/local: apply calling Plan 2025-12-16T10:54:36.785+0100 [DEBUG] Building and walking plan graph for NormalMode 2025-12-16T10:54:36.786+0100 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/github"], implied first by module.branch_naming.github_organization_ruleset.branch_naming_convention (expand) 2025-12-16T10:54:36.786+0100 [DEBUG] ProviderTransformer: "module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/github"] 2025-12-16T10:54:36.786+0100 [DEBUG] pruning unused provider["registry.terraform.io/integrations/github"] 2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "var.apply_pr_production" references: [] 2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "var.organization" references: [] 2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.output.ruleset_id (expand)" references: [module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)] 2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.output.ruleset_name (expand)" references: [module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)] 2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)" references: [] 2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "var.github_token" references: [] 2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "var.github_base_url" references: [] 2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "var.apply_pr_develop" references: [] 2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "output.branch_naming_ruleset_id (expand)" references: [var.apply_branch_naming module.branch_naming.output.ruleset_id (expand)] 2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "module.branch_naming (expand)" references: [var.apply_branch_naming] 2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/github\"]" references: [] 2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "module.branch_naming (close)" references: [] 2025-12-16T10:54:36.786+0100 [DEBUG] ReferenceTransformer: "var.apply_branch_naming" references: [] 2025-12-16T10:54:36.786+0100 [DEBUG] Starting graph walk: walkPlan 2025-12-16T10:54:36.786+0100 [DEBUG] created provider logger: level=debug 2025-12-16T10:54:36.786+0100 [INFO] provider: configuring client automatic mTLS 2025-12-16T10:54:36.788+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe args=[".terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe"] 2025-12-16T10:54:36.850+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe pid=37424 2025-12-16T10:54:36.850+0100 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe 2025-12-16T10:54:36.888+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: configuring server automatic mTLS: timestamp="2025-12-16T10:54:36.881+0100" 2025-12-16T10:54:36.895+0100 [DEBUG] provider.terraform-provider-github_v6.9.0.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp="2025-12-16T10:54:36.895+0100" 2025-12-16T10:54:36.895+0100 [DEBUG] provider: using plugin: version=5 2025-12-16T10:54:36.907+0100 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/github\"]" changed the config value, but that value is unused 2025-12-16T10:54:36.908+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:36 [INFO] Selecting owner from GITHUB_OWNER environment variable: timestamp="2025-12-16T10:54:36.908+0100" 2025-12-16T10:54:36.988+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:36 [INFO] Setting write_delay_ms to 1000: timestamp="2025-12-16T10:54:36.984+0100" 2025-12-16T10:54:36.988+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:36 [DEBUG] Setting read_delay_ms to 0: timestamp="2025-12-16T10:54:36.984+0100" 2025-12-16T10:54:36.988+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:36 [DEBUG] Setting retry_delay_ms to 0: timestamp="2025-12-16T10:54:36.984+0100" 2025-12-16T10:54:36.988+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:36 [DEBUG] Setting max_retries to 3: timestamp="2025-12-16T10:54:36.988+0100" 2025-12-16T10:54:36.988+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:36 [DEBUG] Setting retriableErrors to map[500:true 502:true 503:true 504:true]: timestamp="2025-12-16T10:54:36.988+0100" 2025-12-16T10:54:36.988+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:36 [DEBUG] Setting max_per_page to 100: timestamp="2025-12-16T10:54:36.988+0100" 2025-12-16T10:54:36.988+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:36 [DEBUG] Setting parallel_requests to false: timestamp="2025-12-16T10:54:36.988+0100" 2025-12-16T10:54:36.988+0100 [DEBUG] Resource instance state not found for node "module.branch_naming[0].github_organization_ruleset.branch_naming_convention", instance module.branch_naming[0].github_organization_ruleset.branch_naming_convention 2025-12-16T10:54:36.988+0100 [DEBUG] ReferenceTransformer: "module.branch_naming[0].github_organization_ruleset.branch_naming_convention" references: [] 2025-12-16T10:54:36.988+0100 [DEBUG] refresh: module.branch_naming[0].github_organization_ruleset.branch_naming_convention: no state, so not refreshing 2025-12-16T10:54:36.994+0100 [WARN] Provider "registry.terraform.io/hashicorp/github" produced an invalid plan for module.branch_naming[0].github_organization_ruleset.branch_naming_convention, but we are tolerating it because it is using the legacy plugin SDK. The following problems may be the cause of any confusing errors from downstream operations: - .conditions[0].repository_name[0].protected: planned value cty.False for a non-computed attribute 2025-12-16T10:54:36.995+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" 2025-12-16T10:54:36.998+0100 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe id=37424 2025-12-16T10:54:36.998+0100 [DEBUG] provider: plugin exited 2025-12-16T10:54:36.999+0100 [DEBUG] building apply graph to check for errors 2025-12-16T10:54:36.999+0100 [DEBUG] Resource state not found for node "module.branch_naming[0].github_organization_ruleset.branch_naming_convention", instance module.branch_naming[0].github_organization_ruleset.branch_naming_convention 2025-12-16T10:54:36.999+0100 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/github"], implied first by module.branch_naming[0].github_organization_ruleset.branch_naming_convention 2025-12-16T10:54:36.999+0100 [DEBUG] ProviderTransformer: "module.branch_naming[0].github_organization_ruleset.branch_naming_convention" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/github"] 2025-12-16T10:54:36.999+0100 [DEBUG] ProviderTransformer: "module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/github"] 2025-12-16T10:54:36.999+0100 [DEBUG] pruning unused provider["registry.terraform.io/integrations/github"] 2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "var.apply_branch_naming" references: [] 2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "var.apply_pr_production" references: [] 2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.output.ruleset_name (expand)" references: [module.branch_naming.github_organization_ruleset.branch_naming_convention (expand) module.branch_naming[0].github_organization_ruleset.branch_naming_convention module.branch_naming[0].github_organization_ruleset.branch_naming_convention] 2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)" references: [] 2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "var.organization" references: [] 2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "var.github_token" references: [] 2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "var.github_base_url" references: [] 2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "output.branch_naming_ruleset_id (expand)" references: [var.apply_branch_naming module.branch_naming.output.ruleset_id (expand)] 2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "module.branch_naming[0].github_organization_ruleset.branch_naming_convention" references: [] 2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.output.ruleset_id (expand)" references: [module.branch_naming.github_organization_ruleset.branch_naming_convention (expand) module.branch_naming[0].github_organization_ruleset.branch_naming_convention module.branch_naming[0].github_organization_ruleset.branch_naming_convention] 2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/github\"]" references: [] 2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "module.branch_naming (expand)" references: [var.apply_branch_naming] 2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "module.branch_naming (close)" references: [] 2025-12-16T10:54:36.999+0100 [DEBUG] ReferenceTransformer: "var.apply_pr_develop" references: [] 2025-12-16T10:54:37.002+0100 [INFO] backend/local: apply calling Apply 2025-12-16T10:54:37.002+0100 [DEBUG] Building and walking apply graph for NormalMode plan 2025-12-16T10:54:37.002+0100 [DEBUG] Resource state not found for node "module.branch_naming[0].github_organization_ruleset.branch_naming_convention", instance module.branch_naming[0].github_organization_ruleset.branch_naming_convention 2025-12-16T10:54:37.002+0100 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/github"], implied first by module.branch_naming.github_organization_ruleset.branch_naming_convention (expand) 2025-12-16T10:54:37.002+0100 [DEBUG] ProviderTransformer: "module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/github"] 2025-12-16T10:54:37.002+0100 [DEBUG] ProviderTransformer: "module.branch_naming[0].github_organization_ruleset.branch_naming_convention" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/github"] 2025-12-16T10:54:37.002+0100 [DEBUG] pruning unused provider["registry.terraform.io/integrations/github"] 2025-12-16T10:54:37.002+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/github\"]" references: [] 2025-12-16T10:54:37.002+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.github_organization_ruleset.branch_naming_convention (expand)" references: [] 2025-12-16T10:54:37.002+0100 [DEBUG] ReferenceTransformer: "var.github_base_url" references: [] 2025-12-16T10:54:37.002+0100 [DEBUG] ReferenceTransformer: "var.apply_branch_naming" references: [] 2025-12-16T10:54:37.002+0100 [DEBUG] ReferenceTransformer: "var.apply_pr_production" references: [] 2025-12-16T10:54:37.002+0100 [DEBUG] ReferenceTransformer: "var.github_token" references: [] 2025-12-16T10:54:37.003+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.output.ruleset_id (expand)" references: [module.branch_naming.github_organization_ruleset.branch_naming_convention (expand) module.branch_naming[0].github_organization_ruleset.branch_naming_convention module.branch_naming[0].github_organization_ruleset.branch_naming_convention] 2025-12-16T10:54:37.003+0100 [DEBUG] ReferenceTransformer: "output.branch_naming_ruleset_id (expand)" references: [var.apply_branch_naming module.branch_naming.output.ruleset_id (expand)] 2025-12-16T10:54:37.003+0100 [DEBUG] ReferenceTransformer: "module.branch_naming (close)" references: [] 2025-12-16T10:54:37.003+0100 [DEBUG] ReferenceTransformer: "var.apply_pr_develop" references: [] 2025-12-16T10:54:37.003+0100 [DEBUG] ReferenceTransformer: "var.organization" references: [] 2025-12-16T10:54:37.003+0100 [DEBUG] ReferenceTransformer: "module.branch_naming.output.ruleset_name (expand)" references: [module.branch_naming.github_organization_ruleset.branch_naming_convention (expand) module.branch_naming[0].github_organization_ruleset.branch_naming_convention module.branch_naming[0].github_organization_ruleset.branch_naming_convention] 2025-12-16T10:54:37.003+0100 [DEBUG] ReferenceTransformer: "module.branch_naming[0].github_organization_ruleset.branch_naming_convention" references: [] 2025-12-16T10:54:37.003+0100 [DEBUG] ReferenceTransformer: "module.branch_naming (expand)" references: [var.apply_branch_naming] 2025-12-16T10:54:37.005+0100 [DEBUG] Starting graph walk: walkApply 2025-12-16T10:54:37.006+0100 [DEBUG] created provider logger: level=debug 2025-12-16T10:54:37.006+0100 [INFO] provider: configuring client automatic mTLS 2025-12-16T10:54:37.008+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe args=[".terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe"] 2025-12-16T10:54:37.083+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe pid=12340 2025-12-16T10:54:37.083+0100 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe 2025-12-16T10:54:37.110+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: configuring server automatic mTLS: timestamp="2025-12-16T10:54:37.103+0100" 2025-12-16T10:54:37.118+0100 [DEBUG] provider.terraform-provider-github_v6.9.0.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp="2025-12-16T10:54:37.118+0100" 2025-12-16T10:54:37.118+0100 [DEBUG] provider: using plugin: version=5 2025-12-16T10:54:37.127+0100 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/github\"]" changed the config value, but that value is unused 2025-12-16T10:54:37.128+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:37 [INFO] Selecting owner from GITHUB_OWNER environment variable: timestamp="2025-12-16T10:54:37.128+0100" 2025-12-16T10:54:37.213+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:37 [INFO] Setting write_delay_ms to 1000: timestamp="2025-12-16T10:54:37.213+0100" 2025-12-16T10:54:37.213+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:37 [DEBUG] Setting read_delay_ms to 0: timestamp="2025-12-16T10:54:37.213+0100" 2025-12-16T10:54:37.213+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:37 [DEBUG] Setting retry_delay_ms to 0: timestamp="2025-12-16T10:54:37.213+0100" 2025-12-16T10:54:37.213+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:37 [DEBUG] Setting max_retries to 3: timestamp="2025-12-16T10:54:37.213+0100" 2025-12-16T10:54:37.213+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:37 [DEBUG] Setting retriableErrors to map[500:true 502:true 503:true 504:true]: timestamp="2025-12-16T10:54:37.213+0100" 2025-12-16T10:54:37.213+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:37 [DEBUG] Setting max_per_page to 100: timestamp="2025-12-16T10:54:37.213+0100" 2025-12-16T10:54:37.213+0100 [INFO] provider.terraform-provider-github_v6.9.0.exe: 2025/12/16 10:54:37 [DEBUG] Setting parallel_requests to false: timestamp="2025-12-16T10:54:37.213+0100" 2025-12-16T10:54:37.216+0100 [WARN] Provider "registry.terraform.io/hashicorp/github" produced an invalid plan for module.branch_naming[0].github_organization_ruleset.branch_naming_convention, but we are tolerating it because it is using the legacy plugin SDK. The following problems may be the cause of any confusing errors from downstream operations: - .conditions[0].repository_name[0].protected: planned value cty.False for a non-computed attribute 2025-12-16T10:54:37.217+0100 [INFO] Starting apply for module.branch_naming[0].github_organization_ruleset.branch_naming_convention 2025-12-16T10:54:37.217+0100 [DEBUG] module.branch_naming[0].github_organization_ruleset.branch_naming_convention: applying the planned Create change 2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: panic: interface conversion: interface {} is nil, not string 2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe 2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: goroutine 29 [running]: 2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/integrations/terraform-provider-github/v6/github.resourceGithubRulesetObject(0xc0001f2630, {0x0, 0x0}) 2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/integrations/terraform-provider-github/v6/github/respository_rules_utils.go:21 +0x434 2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/integrations/terraform-provider-github/v6/github.resourceGithubOrganizationRulesetCreate(0xc0001f2630, {0x147ec40, 0xc0004367c0}) 2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/integrations/terraform-provider-github/v6/github/resource_github_organization_ruleset.go:593 +0x5d 2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0x1841790?, {0x1841790?, 0xc0005740f0?}, 0xd?, {0x147ec40?, 0xc0004367c0?}) 2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:837 +0x15f 2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc00039db00, {0x1841790, 0xc0005740f0}, 0xc000553930, 0xc0001f2510, {0x147ec40, 0xc0004367c0}) 2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:980 +0xb47 2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc0002e05d0, {0x1841790?, 0xc000574030?}, 0xc000530500) 2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:1499 +0x1085 2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc0003ee3c0, {0x1841790?, 0xc0004cd4d0?}, 0xc000532100) 2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:944 +0x3b9 2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x16901c0, 0xc0003ee3c0}, {0x1841790, 0xc0004cd4d0}, 0xc000532080, 0x0) 2025-12-16T10:54:37.222+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:789 +0x1a6 2025-12-16T10:54:37.223+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001e0400, {0x1841790, 0xc0004cd440}, 0xc0005360c0, 0xc0004cd0b0, 0x1ff05e8, 0x0) 2025-12-16T10:54:37.223+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: google.golang.org/[email protected]/server.go:1431 +0x1036 2025-12-16T10:54:37.223+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: google.golang.org/grpc.(*Server).handleStream(0xc0001e0400, {0x1842098, 0xc000397520}, 0xc0005360c0) 2025-12-16T10:54:37.223+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: google.golang.org/[email protected]/server.go:1842 +0xb88 2025-12-16T10:54:37.223+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: google.golang.org/grpc.(*Server).serveStreams.func2.1() 2025-12-16T10:54:37.223+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: google.golang.org/[email protected]/server.go:1061 +0x7f 2025-12-16T10:54:37.223+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 36 2025-12-16T10:54:37.223+0100 [ERROR] provider.terraform-provider-github_v6.9.0.exe: google.golang.org/[email protected]/server.go:1072 +0x11d 2025-12-16T10:54:37.224+0100 [ERROR] plugin.(*GRPCProvider).ApplyResourceChange: error="rpc error: code = Unavailable desc = error reading from server: read tcp 127.0.0.1:60069->127.0.0.1:10000: wsarecv: Istniejące połączenie zostało gwałtownie zamknięte przez zdalnego hosta." 2025-12-16T10:54:37.224+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: read tcp 127.0.0.1:60069->127.0.0.1:10000: wsarecv: Istniejące połączenie zostało gwałtownie zamknięte przez zdalnego hosta." 2025-12-16T10:54:37.226+0100 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot 2025-12-16T10:54:37.226+0100 [ERROR] vertex "module.branch_naming[0].github_organization_ruleset.branch_naming_convention" error: Plugin did not respond 2025-12-16T10:54:37.227+0100 [ERROR] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/hashicorp/github/6.9.0/windows_amd64/terraform-provider-github_v6.9.0.exe id=12340 error="exit status 2" 2025-12-16T10:54:37.230+0100 [DEBUG] provider: plugin exitedPanic Output
Code of Conduct