This commit is contained in:
aynic.os
2021-05-17 15:28:24 +02:00
parent 7271c1160f
commit a40cdb5525
20 changed files with 79 additions and 2255 deletions
+21
View File
@@ -0,0 +1,21 @@
CMDS += terraform
ifeq ($(DOCKER), true)
# packer ansible provisionner needs:
## empty local ssh agent (ssh-add -D)
## ANSIBLE_SSH_PRIVATE_KEY set to a key giving access to ANSIBLE_GIT_REPOSITORY without password
## ANSIBLE_AWS_ACCESS_KEY_ID and ANSIBLE_AWS_SECRET_ACCESS_KEY
define terraform
$(call run,hashicorp/terraform:light $(1))
endef
else
define terraform
$(call run,terraform $(1))
endef
endif
+4
View File
@@ -0,0 +1,4 @@
.PHONY: terraform
terraform:
$(call terraform,$(ARGS))