WIP: Add lifecycle { ignore_changes = [template] } to github_repository generator #146

Closed
thesuperRL wants to merge 2 commits from triage/triage-issue-144-add--lifecycle---ignore_changes---20260728-202928 into main
thesuperRL commented 2026-07-28 20:30:55 +00:00 (Migrated from codeberg.org)

Excellent! The change is now in place.


PR Description

Added lifecycle { ignore_changes = [template] } to the github_repository resource generator in github.rs. This prevents Terraform from detecting drift on the template field, which may be set automatically by GitHub's API but isn't managed by our Terraform configuration. The implementation follows the same pattern already used in the Sentry generator for the platform field.

Next steps: Test the generated Terraform configuration to ensure the lifecycle block is properly serialized and verify that terraform plan no longer shows template-related drift.


Generated by credit-conserver using Claude AI
Issue: #144

Excellent! The change is now in place. --- ## PR Description Added `lifecycle { ignore_changes = [template] }` to the `github_repository` resource generator in `github.rs`. This prevents Terraform from detecting drift on the `template` field, which may be set automatically by GitHub's API but isn't managed by our Terraform configuration. The implementation follows the same pattern already used in the Sentry generator for the `platform` field. Next steps: Test the generated Terraform configuration to ensure the lifecycle block is properly serialized and verify that `terraform plan` no longer shows template-related drift. --- Generated by credit-conserver using Claude AI Issue: #144

Pull request closed

Sign in to join this conversation.
No description provided.