Skip to content

Commit f3dc40b

Browse files
committed
Update Makefile
1 parent a75bc90 commit f3dc40b

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

Makefile

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
# https://github.com/tmknom/template-terraform-module
2-
TERRAFORM_VERSION := 0.11.11
2+
TERRAFORM_VERSION := 0.12.24
33
-include .Makefile.terraform
44

55
.Makefile.terraform:
6-
curl -sSL https://raw.githubusercontent.com/tmknom/template-terraform-module/master/Makefile.terraform -o .Makefile.terraform
6+
curl -sSL https://raw.githubusercontent.com/tmknom/template-terraform-module/0.2.7/Makefile.terraform -o .Makefile.terraform
77

88
MINIMAL_DIR := ./examples/minimal
99
COMPLETE_DIR := ./examples/complete
1010

11-
terraform-plan-minimal: ## Run terraform plan examples/minimal
12-
$(call terraform,${MINIMAL_DIR},init)
13-
$(call terraform,${MINIMAL_DIR},plan) | tee -a /dev/stderr | docker run --rm -i tmknom/terraform-landscape
11+
plan-minimal: ## Run terraform plan examples/minimal
12+
$(call terraform,${MINIMAL_DIR},init,)
13+
$(call terraform,${MINIMAL_DIR},plan,)
1414

15-
terraform-apply-minimal: ## Run terraform apply examples/minimal
16-
$(call terraform,${MINIMAL_DIR},apply)
15+
apply-minimal: ## Run terraform apply examples/minimal
16+
$(call terraform,${MINIMAL_DIR},apply,)
1717

18-
terraform-destroy-minimal: ## Run terraform destroy examples/minimal
19-
$(call terraform,${MINIMAL_DIR},destroy)
18+
destroy-minimal: ## Run terraform destroy examples/minimal
19+
$(call terraform,${MINIMAL_DIR},destroy,)
2020

21-
terraform-plan-complete: ## Run terraform plan examples/complete
22-
$(call terraform,${COMPLETE_DIR},init)
23-
$(call terraform,${COMPLETE_DIR},plan) | tee -a /dev/stderr | docker run --rm -i tmknom/terraform-landscape
21+
plan-complete: ## Run terraform plan examples/complete
22+
$(call terraform,${COMPLETE_DIR},init,)
23+
$(call terraform,${COMPLETE_DIR},plan,)
2424

25-
terraform-apply-complete: ## Run terraform apply examples/complete
26-
$(call terraform,${COMPLETE_DIR},apply)
25+
apply-complete: ## Run terraform apply examples/complete
26+
$(call terraform,${COMPLETE_DIR},apply,)
2727

28-
terraform-destroy-complete: ## Run terraform destroy examples/complete
29-
$(call terraform,${COMPLETE_DIR},destroy)
28+
destroy-complete: ## Run terraform destroy examples/complete
29+
$(call terraform,${COMPLETE_DIR},destroy,)

0 commit comments

Comments
 (0)