Add terraform destroy to makefile

This commit is contained in:
IamTheFij 2024-02-13 11:59:47 -08:00
parent a16dc204fe
commit 0e168376b8
1 changed files with 5 additions and 0 deletions

View File

@ -92,6 +92,11 @@ refresh:
@terraform refresh \
-var "nomad_secret_id=$(shell jq -r .SecretID nomad_bootstrap.json)" \
.PHONY: destroy
destroy:
@terraform destroy \
-var "nomad_secret_id=$(shell jq -r .SecretID nomad_bootstrap.json)" \
.PHONY: clean
clean:
env VIRTUAL_ENV=$(VENV) $(VENV)/bin/ansible-playbook -vv \