aboutsummaryrefslogtreecommitdiff
path: root/terraform/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'terraform/Makefile')
-rw-r--r--terraform/Makefile24
1 files changed, 1 insertions, 23 deletions
diff --git a/terraform/Makefile b/terraform/Makefile
index c26c670..bd6278c 100644
--- a/terraform/Makefile
+++ b/terraform/Makefile
@@ -4,11 +4,7 @@ terraform_unzip=.terraform/unzip/$(terraform_version)/
terraform_zip=.terraform/zip/terraform_$(terraform_version)_linux_amd64.zip
terraform_bin=.terraform/bin/terraform
-ansiblevault_version=2.0.1
-ansiblevault_url=https://github.com/MeilleursAgents/terraform-provider-ansiblevault/releases/download/v$(ansiblevault_version)/terraform-provider-ansiblevault_linux_amd64_v$(ansiblevault_version)
-ansiblevault_path=terraform.d/plugins/linux_amd64/terraform-provider-ansiblevault_v$(ansiblevault_version)_x4
-
-all: $(terraform_bin) $(ansiblevault_path) setup
+all: $(terraform_bin) setup
$(terraform_bin): $(terraform_zip)
rm -rf $(dir $(terraform_unzip))
@@ -21,21 +17,3 @@ $(terraform_bin): $(terraform_zip)
$(terraform_zip):
mkdir -p $(dir $@)
curl -L -o "$@" $(terraform_url)
-
-$(ansiblevault_path): terraform.d
- mkdir -p $(dir $@)
- curl -L -o "$@" $(ansiblevault_url)
- chmod +x $(@)
-
-terraform.d:
- mkdir $@
-
-MAIN=$(patsubst %/main.tf,%,$(wildcard */main.tf))
-setup: $(patsubst %,%/terraform.d,$(MAIN))
-.PHONY: setup
-
-%/terraform.d: terraform.d
- ln -s ../terraform.d $@
-
-.terraform/plugins/linux_amd64:
- mkdir -p $@