2 Commits

Author SHA1 Message Date
unkinben 353d726510 Merge pull request 'feat: add makefile' (#21) from benvin/makefile into master
Reviewed-on: #21
2025-11-16 12:40:25 +11:00
unkinben 537cc9013a feat: add makefile
- add init, plan and apply to makefile
2025-11-16 12:39:32 +11:00
+20
View File
@@ -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