feat: only run apply when plan detects changes #4

Merged
benvin merged 6 commits from feat/conditional-apply into main 2026-06-11 23:32:02 +10:00
Owner

Summary

  • Add make apply-if-changes target using -detailed-exitcode
  • CI apply step skips apply when no changes detected

Test plan

  • Verify no-change plan exits cleanly without applying
## Summary - Add make apply-if-changes target using -detailed-exitcode - CI apply step skips apply when no changes detected ## Test plan - [ ] Verify no-change plan exits cleanly without applying
unkinben added 1 commit 2026-06-11 23:22:07 +10:00
feat: only run apply when plan detects changes
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline was successful
1a5921d9b0
unkinben added 1 commit 2026-06-11 23:23:30 +10:00
feat: add terraform-git
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline was successful
1b127941f8
- add new repo
- change write -> none
unkinben added 1 commit 2026-06-11 23:25:33 +10:00
fix: add terraform.tf for pre-commit validation
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline failed
6203e4d0e2
Required for tofu-validate and tflint to work standalone
without the terragrunt-generated backend.tf.
unkinben added 1 commit 2026-06-11 23:26:35 +10:00
feat: add make pre-commit target
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline failed
8e3eac286c
unkinben added 1 commit 2026-06-11 23:28:04 +10:00
style: tofu fmt alignment
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline failed
883faee35c
unkinben added 1 commit 2026-06-11 23:30:26 +10:00
fix: remove unused deploy_key variable and duplicate required_providers
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful
dc9f3cd595
benvin merged commit e5a69ea953 into main 2026-06-11 23:32:02 +10:00
benvin deleted branch feat/conditional-apply 2026-06-11 23:32:02 +10:00
Sign in to join this conversation.