Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony authored and GitHub committed May 10, 2021
1 parent 95b03cb commit e8c3402
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions slurm-gcp/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
.PHONY: plan apply destroy
#
#
# I2 Capstone Project
# Allissa Dillman, Ananya Ravipati, Bala Desinghu, Tony Cricell, John Hicks, Timothy Middelkoop
#
.PHONY: init plan apply destroy

init:
terraform init

validate:
terraform validate

plan:
terraform plan -var-file=basic.tfvars -var-file=local.tfvars -out terraform.tfplan
terraform plan -var-file=basic.tfvars -var-file=local.tfvars -out terraform.tfplan

apply:
terraform apply -var-file=basic.tfvars -var-file=local.tfvars -auto-approve
terraform apply -var-file=basic.tfvars -var-file=local.tfvars -auto-approve

destroy:
terraform destroy -var-file=basic.tfvars -var-file=local.tfvars -auto-approve
terraform destroy -var-file=basic.tfvars -var-file=local.tfvars -auto-approve

show:
terraform show

0 comments on commit e8c3402

Please sign in to comment.