summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-04-05 08:28:38 +0300
committerPaul Buetow <paul@buetow.org>2025-04-05 08:28:38 +0300
commit1cfdd66a38dc2a10c0f383be92a3e763355df70f (patch)
tree5be9c5f0210a0e50bffddd1a8168e7e13bf8577a /Makefile
parent51b8f7888da97aefe1958f1a864ba4426b357d37 (diff)
.PHONYing them
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile38
1 files changed, 22 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index 6d3afcb..5fdfa42 100644
--- a/Makefile
+++ b/Makefile
@@ -1,22 +1,28 @@
-apply:
- cd org-buetow-base && terraform apply -auto-approve
- #cd org-buetow-bastion && terraform apply -auto-approve
- cd org-buetow-elb && terraform apply -auto-approve
+.PHONY: apply destroy sleep for2h init recreate
+
+apply:
+ cd org-buetow-base && terraform apply -auto-approve
+ #cd org-buetow-bastion && terraform apply -auto-approve
+ cd org-buetow-elb && terraform apply -auto-approve
cd org-buetow-ecs && terraform apply -auto-approve
-destroy:
- cd org-buetow-ecs && terraform destroy -auto-approve
- cd org-buetow-elb && terraform destroy -auto-approve
- cd org-buetow-eks && terraform destroy -auto-approve
+
+destroy:
+ cd org-buetow-ecs && terraform destroy -auto-approve
+ cd org-buetow-elb && terraform destroy -auto-approve
+ cd org-buetow-eks && terraform destroy -auto-approve
cd org-buetow-bastion && terraform destroy -auto-approve
-sleep:
- @echo 'Waiting for 2 hours.'
+
+sleep:
+ @echo 'Waiting for 2 hours.'
sleep 7200
-for2h: apply sleep destroy
-init:
- cd org-buetow-base && terraform init
- cd org-buetow-bastion && terraform init
- cd org-buetow-elb && terraform init
- cd org-buetow-ecs && terraform init
+
+for2h: apply sleep destroy
+
+init:
+ cd org-buetow-base && terraform init
+ cd org-buetow-bastion && terraform init
+ cd org-buetow-elb && terraform init
+ cd org-buetow-ecs && terraform init
cd org-buetow-eks && terraform init
recreate: destroy apply