|
1 | 1 | # https://github.com/tmknom/template-terraform-module
|
2 |
| -TERRAFORM_VERSION := 0.11.11 |
| 2 | +TERRAFORM_VERSION := 0.12.24 |
3 | 3 | -include .Makefile.terraform
|
4 | 4 |
|
5 | 5 | .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 |
7 | 7 |
|
8 | 8 | MINIMAL_DIR := ./examples/minimal
|
9 | 9 | COMPLETE_DIR := ./examples/complete
|
10 | 10 |
|
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,) |
14 | 14 |
|
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,) |
17 | 17 |
|
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,) |
20 | 20 |
|
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,) |
24 | 24 |
|
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,) |
27 | 27 |
|
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