From abb9acb85a49bc28e08769af53e9ad8d6cffec5c Mon Sep 17 00:00:00 2001 From: RyanSquared Date: Fri, 14 Apr 2023 00:10:14 -0400 Subject: [PATCH] Makefile: ignore time terraform has been built --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c5248c5..5810553 100644 --- a/Makefile +++ b/Makefile @@ -59,7 +59,7 @@ infra/backend/.terraform: \ $(BACKEND_TF) env -C infra/backend $(TERRAFORM) init -infra/main/.terraform: \ +infra/main/.terraform: | \ $(OUT_DIR)/terraform \ config/$(ENVIRONMENT).tfbackend \ $(MAIN_TF) @@ -75,7 +75,7 @@ infra/backend/$(ENVIRONMENT).tfstate: \ -var region=$(REGION) \ -state ../../$@ -config/$(ENVIRONMENT).tfbackend: \ +config/$(ENVIRONMENT).tfbackend: | \ $(OUT_DIR)/terraform # File is not committed and this has no shared state $(MAKE) infra/backend/$(ENVIRONMENT).tfstate