Skip to content

[BUG]: Internal validation of the provider failed! πŸ’₯ Β #2838

Closed

Description

@unique-dominik

Expected Behavior

Provider initilizes 😏

Actual Behavior

β”‚ Error: InternalValidate
β”‚ 
β”‚   with module.release-infra.provider["registry.terraform.io/integrations/github"],
β”‚   on ../../../../../terraform-modules/release-infra/provider.tf line 1, in provider "github":
β”‚    1: provider "github" {
β”‚ 
β”‚ Internal validation of the provider failed! This is always a bug
β”‚ with the provider itself, and not a user issue. Please report
β”‚ this bug:
β”‚ 
β”‚ resource github_actions_secret: No Update defined, must set ForceNew on:
β”‚ []string{"destroy_on_drift"}
β•΅

Terraform Version

1.10

Affected Resource(s)

Provider

Steps to Reproduce

Run init.

Panic Output

β”‚ Error: InternalValidate
β”‚ 
β”‚   with module.unique-release-infra.provider["registry.terraform.io/integrations/github"],
β”‚   on ../../../../../terraform-modules/unique-release-infra/provider.tf line 1, in provider "github":
β”‚    1: provider "github" {
β”‚ 
β”‚ Internal validation of the provider failed! This is always a bug
β”‚ with the provider itself, and not a user issue. Please report
β”‚ this bug:
β”‚ 
β”‚ resource github_actions_secret: No Update defined, must set ForceNew on:
β”‚ []string{"destroy_on_drift"}
β•΅

Workaround

Everyone looking for a workaround

terraform {
  required_providers {
    …
    github = {
      source  = "integrations/github"
      version = "=6.7.1" # FIXME https://github.com/integrations/terraform-provider-github/issues/2838
    }
  }
}

fixes it until its fixed for good πŸ‘

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added
    Type: Bug
    Status: Triage
    on Oct 29, 2025
  2. changed the title [-][BUG]:[/-] [+][BUG]: Internal validation of the provider failed! πŸ’₯ [/+] on Oct 29, 2025
  3. Dariusch commented on Oct 29, 2025

    @Dariusch

    I was just about to create the same issue..

  4. thundersparkf commented on Oct 29, 2025

    @thundersparkf

    Yeah it's a bloodbath rn for all the repos across the org

  5. kieran-lowe commented on Oct 29, 2025

    @kieran-lowe

    Yeah ditto, I was running a plan to test output and wondering why it wasn't working all of a sudden!

  6. WestCoader commented on Oct 29, 2025

    @WestCoader

    Can confirm, breakage of all automated jobs which call this version that worked a few days ago w/ 6.7.0 prior to 6.7.2 being pulled. Might be worth considering being more explicit with version constraints on anything that calls this provider going forward.

  7. jsharper commented on Oct 29, 2025

    @jsharper

    6.7.3 does appear to resolve this issue. Thanks!

  8. unique-dominik commented on Oct 29, 2025

    @unique-dominik
    Author

    But also already a new bug for the same resource was opened πŸ‘οΈ
    #2843

  9. armyofda12mnkeys commented on Oct 30, 2025

    @armyofda12mnkeys

    Was this fixed? i noticed our Terraform's were failing yesterday in the morning/afternoon, but suddenly later in the afternoon (like 5-6pm EST) yesterday they were working again without me updating the github provider settings for Terraform.

  10. vortegon commented on Oct 30, 2025

    @vortegon

    6.7.3 resolved this issue. Thanks! πŸ‘πŸΌ

  11. unique-dominik commented on Oct 30, 2025

    @unique-dominik
    Author

    I will go and close THIS issue even though I see some new ones relating πŸ€“

    But the initialization error is fixed in 6.7.3! Thanks 🀝🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageType: Bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions