add terraform init into makefile
This commit is contained in:
parent
d42cc4fc80
commit
9e06725e0d
6
Makefile
6
Makefile
@ -35,3 +35,9 @@ hazelcast:
|
|||||||
echo "start playbook" && \
|
echo "start playbook" && \
|
||||||
ansible-playbook -i stack_address.toml hazelcast/playbook.yml
|
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user