diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 38 |
1 files changed, 22 insertions, 16 deletions
@@ -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 |
