Skip to content

Commit

Permalink
add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
tbugfinder committed Aug 10, 2019
1 parent 3e3d542 commit 522f3b4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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}"

0 comments on commit 522f3b4

Please sign in to comment.