imfreedom/bamboo-terraform
Clone
Summary
Browse
Changes
Graph
add refresh and showplan targets
draft
2019-05-26, Gary Kramlich
16d5b93c82a0
Parents
0c11bca95d1e
Children
40553e90cced
add refresh and showplan targets
1 files changed, 6 insertions(+), 0 deletions(-)
+6
-0
Makefile
--- a/Makefile Sun May 26 02:21:32 2019 -0500
+++ b/Makefile Sun May 26 23:45:17 2019 -0500
@@ -7,6 +7,9 @@
plan: _require_node
terraform plan -parallelism=1 -out $(NODE).tfplan $(TFARGS) $(PLAN_LIMIT)
+showplan: _require_node
+ terraform showplan $(NODE).tfplan
+
destroy: _require_node
terraform plan -destroy -out $(NODE).tfplan $(TFARGS)
@@ -14,6 +17,9 @@
terraform apply -input=true $(NODE).tfplan
rm $(NODE).tfplan
+refresh: _require_node
+ terraform refresh $(TFARGS)
+
showplan: _require_node
terraform show $(NODE).tfplan