aboutsummaryrefslogtreecommitdiff
path: root/terraform/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'terraform/Makefile')
-rw-r--r--terraform/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/terraform/Makefile b/terraform/Makefile
new file mode 100644
index 0000000..dd05c7a
--- /dev/null
+++ b/terraform/Makefile
@@ -0,0 +1,10 @@
+ansiblevault_version=1.1.0
+
+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/plugins/linux_amd64/terraform-provider-ansiblevault_v$(ansiblevault_version)_x4
+
+all: $(ansiblevault_path)
+
+$(ansiblevault_path): .terraform/plugins/linux_amd64
+ mkdir -p $<
+ curl -o "$@" $(ansiblevault_url)