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
Showing only changes of commit 8e3eac286c - Show all commits
+4 -1
View File
@@ -1,4 +1,4 @@
.PHONY: init plan apply format
.PHONY: init plan apply apply-if-changes format pre-commit
VAULT_AUTH_METHOD ?= approle
VAULT_K8S_ROLE ?= woodpecker_terraform_git
@@ -47,3 +47,6 @@ format:
@tofu fmt -recursive .
@echo "Formatting Terragrunt files..."
@terragrunt hcl fmt
pre-commit:
@uvx pre-commit run --all-files