diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..12610ac --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +SHELL := /usr/bin/env bash +TF_WORKSPACE ?= default + +.PHONY: install-git-pre-commit-hooks +# Install Git pre-commit hooks. +install-git-pre-commit-hooks: + pre-commit install --overwrite + +.PHONY: deploy +deploy: + terraform apply -var spokeAK="$${spokeAK}" -var spokeSK="$${spokeSK}" -var public_key="$${SSH_PUB_KEY}" + +.PHONY: destroy +destroy: + terraform destroy -var spokeAK="$${spokeAK}" -var spokeSK="$${spokeSK}" -var public_key="$${SSH_PUB_KEY}"