You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
438 B
22 lines
438 B
2 years ago
|
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
|
||
|
|
||
|
|