aboutsummaryrefslogtreecommitdiff
path: root/terraform/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'terraform/Makefile')
-rw-r--r--terraform/Makefile19
1 files changed, 0 insertions, 19 deletions
diff --git a/terraform/Makefile b/terraform/Makefile
deleted file mode 100644
index bd6278c..0000000
--- a/terraform/Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
-terraform_version=0.13.5
-terraform_url=https://releases.hashicorp.com/terraform/$(terraform_version)/terraform_$(terraform_version)_linux_amd64.zip
-terraform_unzip=.terraform/unzip/$(terraform_version)/
-terraform_zip=.terraform/zip/terraform_$(terraform_version)_linux_amd64.zip
-terraform_bin=.terraform/bin/terraform
-
-all: $(terraform_bin) setup
-
-$(terraform_bin): $(terraform_zip)
- rm -rf $(dir $(terraform_unzip))
- mkdir -p $(terraform_unzip)
- mkdir -p $(dir $(terraform_bin))
- unzip $(terraform_zip) -d $(terraform_unzip)
- ln -sf $(PWD)/$(terraform_unzip)/terraform $(terraform_bin)
- touch $(PWD)/$(terraform_unzip)/terraform
-
-$(terraform_zip):
- mkdir -p $(dir $@)
- curl -L -o "$@" $(terraform_url)