add terraform init into makefile

This commit is contained in:
RouxAntoine 2021-01-31 13:18:57 +01:00
parent d42cc4fc80
commit 9e06725e0d

View File

@ -35,3 +35,9 @@ hazelcast:
echo "start playbook" && \
ansible-playbook -i stack_address.toml hazelcast/playbook.yml
stack_init:
cd stack && \
terraform init \
-backend-config="cacert_path=$$HOME/virtualization/kubernetes-the-hard-way/certs/ca.pem" \
-backend-config="cert_path=$$HOME/virtualization/kubernetes-the-hard-way/certs/kubernetes.pem" \
-backend-config="key_path=$$HOME/virtualization/kubernetes-the-hard-way/certs/kubernetes-key.pem"