Skip to content

fix(repository-environment): require github provider >= 6.12 - #54

Merged
posquit0 merged 1 commit into
mainfrom
fix/repository-environment-min-github-provider
Nov 20, 2026
Merged

posquit0 merged 1 commit into
mainfrom
fix/repository-environment-min-github-provider

Conversation

@posquit0

@posquit0 posquit0 commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Background

  • modules/repository-environment/versions.tf declares integrations/github >= 6.11, but modules/repository-environment/main.tf sets value on github_actions_environment_secret and lists it in ignore_changes (added in fix(repository-environment): replace deprecated plaintext_value with value #33). The value / value_encrypted arguments first appear in provider 6.12.0; the 6.11.0 schema only has plaintext_value / encrypted_value.
  • Impact: with a provider in [6.11, 6.12), the constraint is satisfied but terraform validate/plan fails with An argument named "value" is not expected here.

References

Description

  • modules/repository-environment/versions.tf: >= 6.11 → >= 6.12
  • modules/repository-environment/README.md: requirements/providers table regenerated with terraform-docs

🚨 To Reviewers

  • The repository module, which calls this one, is bumped in a separate PR (fix(repository): require github provider >= 6.12 #53).
  • Validation:
    • Provider schema comparison (terraform providers schema -json): github_actions_environment_secret has no value attribute in 6.11.0; it is present in 6.12.0.
    • origin/main copy with the provider pinned to = 6.11.0: terraform validate fails (An argument named "value" is not expected here). Pinned to = 6.12.0: valid.
    • On this branch: terraform fmt -check -recursive clean; terraform init -backend=false + terraform validate in modules/repository-environment succeed (resolved 6.13.0).
    • Not tested: plan/apply against the GitHub API.

Worktree: ~/.git-worktrees/tedilabs/terraform-github-modules/repository-environment-min-github-provider/

@github-actions github-actions Bot added 💾 repository-environment This issue or pull request is related to repository-environment module. size/XS Extra Small size issue or PR. labels Nov 20, 2026
@github-actions

Copy link
Copy Markdown

Terraform Integration

Directory fmt validate tflint docs
modules/repository-environment ✅ ✅ ✅ ✅

✅ All 1 passed.

@posquit0
posquit0 merged commit 6639ab7 into main Nov 20, 2026
7 checks passed
@posquit0
posquit0 deleted the fix/repository-environment-min-github-provider branch November 20, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💾 repository-environment This issue or pull request is related to repository-environment module. size/XS Extra Small size issue or PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant