From eea106ddeafc41a08979824c5d432015776b4d31 Mon Sep 17 00:00:00 2001 From: tmknom Date: Sat, 2 May 2020 17:45:11 +0900 Subject: [PATCH] Update Makefile --- Makefile | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Makefile b/Makefile index abfddb1..729d0bb 100644 --- a/Makefile +++ b/Makefile @@ -1,29 +1,29 @@ # https://github.com/tmknom/template-terraform-module -TERRAFORM_VERSION := 0.11.10 +TERRAFORM_VERSION := 0.12.24 -include .Makefile.terraform .Makefile.terraform: - curl -sSL https://raw.githubusercontent.com/tmknom/template-terraform-module/master/Makefile.terraform -o .Makefile.terraform + curl -sSL https://raw.githubusercontent.com/tmknom/template-terraform-module/0.2.6/Makefile.terraform -o .Makefile.terraform MINIMAL_DIR := ./examples/minimal COMPLETE_DIR := ./examples/complete -terraform-plan-minimal: ## Run terraform plan examples/minimal - $(call terraform,${MINIMAL_DIR},init) - $(call terraform,${MINIMAL_DIR},plan) | tee -a /dev/stderr | docker run --rm -i tmknom/terraform-landscape +plan-minimal: ## Run terraform plan examples/minimal + $(call terraform,${MINIMAL_DIR},init,) + $(call terraform,${MINIMAL_DIR},plan,) -terraform-apply-minimal: ## Run terraform apply examples/minimal - $(call terraform,${MINIMAL_DIR},apply) +apply-minimal: ## Run terraform apply examples/minimal + $(call terraform,${MINIMAL_DIR},apply,) -terraform-destroy-minimal: ## Run terraform destroy examples/minimal - $(call terraform,${MINIMAL_DIR},destroy) +destroy-minimal: ## Run terraform destroy examples/minimal + $(call terraform,${MINIMAL_DIR},destroy,) -terraform-plan-complete: ## Run terraform plan examples/complete - $(call terraform,${COMPLETE_DIR},init) - $(call terraform,${COMPLETE_DIR},plan) | tee -a /dev/stderr | docker run --rm -i tmknom/terraform-landscape +plan-complete: ## Run terraform plan examples/complete + $(call terraform,${COMPLETE_DIR},init,) + $(call terraform,${COMPLETE_DIR},plan,) -terraform-apply-complete: ## Run terraform apply examples/complete - $(call terraform,${COMPLETE_DIR},apply) +apply-complete: ## Run terraform apply examples/complete + $(call terraform,${COMPLETE_DIR},apply,) -terraform-destroy-complete: ## Run terraform destroy examples/complete - $(call terraform,${COMPLETE_DIR},destroy) +destroy-complete: ## Run terraform destroy examples/complete + $(call terraform,${COMPLETE_DIR},destroy,)