Skip to content

Commit

Permalink
amend makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
MotwaniM committed Apr 2, 2024
1 parent ff5329c commit 627f35d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,12 @@ tf_plan: ## Plan terraform
tf_apply: ## Apply terraform
make tf_set_workspace && \
terraform -chdir=./infrastructure apply -var-file=$(CONFIG_DIR)/${env}-input-params.tfvars ${tf_build_args}

.PHONY: tf_auto_apply
tf_auto_apply: ## Apply terraform
make tf_set_workspace && \
terraform -chdir=./infrastructure apply -auto-approve -var-file=$(CONFIG_DIR)/${env}-input-params.tfvars ${tf_build_args}
terraform -chdir=./infrastructure apply -auto-approve -var-file=$(CONFIG_DIR)/${env}-input-params.tfvars ${tf_build_args} >> terraform_output.txt
aws s3 cp terraform_output.txt s3://i-dot-ai-clean-data/consultations/

.PHONY: tf_destroy
tf_destroy: ## Destroy terraform
Expand Down

0 comments on commit 627f35d

Please sign in to comment.