-
Notifications
You must be signed in to change notification settings - Fork 882
Open
Labels
Status: TriageThis is being looked at and prioritizedThis is being looked at and prioritizedType: BugSomething isn't working as documentedSomething isn't working as documented
Description
Expected Behavior
Provider should initialize successfully and allow terraform plan/apply operations with github_actions_secret resources.
Actual Behavior
Provider fails during initialization with an InternalValidate error:
Error: InternalValidate
with provider["registry.terraform.io/integrations/github"],
on provider.tf line 2, in provider "github":
2: 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
Terraform v1.8.2
on linux_amd64
- provider registry.terraform.io/integrations/github v6.7.2
Affected Resource(s)
- github_actions_secret
Terraform Configuration Files
terraform {
required_providers {
github = {
source = "integrations/github"
version = "~> 6.0"
}
}
}
resource "github_actions_secret" "this" {
for_each = var.secrets
repository = github_repository.this.name
secret_name = each.key
encrypted_value = each.value
}Steps to Reproduce
- Use GitHub provider version 6.7.2
- Define a github_actions_secret resource in your configuration
- Run terraform init
- Run terraform plan
Debug Output
Pin to version 6.7.1 or earlier:
version = "~> 6.7.0, < 6.7.2"Panic Output
Code of Conduct
- I agree to follow this project's Code of Conduct
Neodbaryd, mishinma, rahearn, Shahar-Reuven, adamlc and 52 more
Metadata
Metadata
Assignees
Labels
Status: TriageThis is being looked at and prioritizedThis is being looked at and prioritizedType: BugSomething isn't working as documentedSomething isn't working as documented
Type
Projects
Status
In Review