diff --git a/Makefile b/Makefile index 2fc5ccf..2e90b24 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,8 @@ +ifeq ($(SHELL),/bin/sh) + SHELL:=/bin/bash +endif pre-requesites: - source vars_base && cd Iac/prerequesites && terraform init && terraform apply + source vars_base && cd IaC/prerequesites && terraform init && terraform apply build-docker: source vars_base && cd tracking_server && docker build -t $${TF_VAR_mlflow_docker_image} -f tracking.Dockerfile . @@ -8,16 +11,16 @@ push-docker: source vars_base && docker push $${TF_VAR_mlflow_docker_image} init-terraform: - source vars_base && cd Iac && terraform init -backend-config="bucket=$${TF_VAR_backend_bucket}" + source vars_base && cd IaC && terraform init -backend-config="bucket=$${TF_VAR_backend_bucket}" apply-terraform: - source vars_base && cd Iac && terraform apply + source vars_base && cd IaC && terraform apply plan-terraform: - source vars_base && cd Iac && terraform plan + source vars_base && cd IaC && terraform plan destroy-terraform: - source vars_base && cd Iac && terraform destroy + source vars_base && cd IaC && terraform destroy apply: init-terraform apply-terraform