From 537cc9013a0fc8658ad68a104062d2960f626af8 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sun, 16 Nov 2025 12:39:32 +1100 Subject: [PATCH] feat: add makefile - add init, plan and apply to makefile --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6516722 --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +.PHONY: init plan apply help + +# Default target +help: + @echo "Available targets:" + @echo " init - Initialize Terraform" + @echo " plan - Plan Terraform changes" + @echo " apply - Apply Terraform changes" + +init: + @echo "Sourcing environment and initializing Terraform..." + @source ./env && terraform init + +plan: + @echo "Sourcing environment and planning Terraform changes..." + @source ./env && terraform plan + +apply: + @echo "Sourcing environment and applying Terraform changes..." + @source ./env && terraform apply -auto-approve \ No newline at end of file