aboutsummaryrefslogtreecommitdiff
path: root/terraform/Makefile
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-07-23 13:17:56 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2019-07-23 13:17:56 +0200
commit67f5d1008eef96f13dbf8910092155b7aa1bcee4 (patch)
tree00901863a6ab5c24c3e5616a9d4308499810c568 /terraform/Makefile
parentba76764c198e9232b3152568008d5aa5199a1fd0 (diff)
downloadk8s-sandbox-67f5d1008eef96f13dbf8910092155b7aa1bcee4.tar.gz
k8s-sandbox-67f5d1008eef96f13dbf8910092155b7aa1bcee4.tar.bz2
k8s-sandbox-67f5d1008eef96f13dbf8910092155b7aa1bcee4.tar.xz
k8s-sandbox-67f5d1008eef96f13dbf8910092155b7aa1bcee4.zip
o Merging in Terraform setup.
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)