Skip to content

Commit

Permalink
Merge pull request #55 from nalbam/destroy
Browse files Browse the repository at this point in the history
Destroy the infrastructure
  • Loading branch information
dwmkerr authored Nov 5, 2018
2 parents 3889784 + 804b52b commit 47b00aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ openshift:
cat ./scripts/postinstall-node.sh | ssh -A ec2-user@$$(terraform output bastion-public_ip) ssh node1.openshift.local
cat ./scripts/postinstall-node.sh | ssh -A ec2-user@$$(terraform output bastion-public_ip) ssh node2.openshift.local

# Destroy the infrastructure.
destroy:
terraform init && terraform destroy -auto-approve

# Open the console.
browse-openshift:
open $$(terraform output master-url)
Expand Down

0 comments on commit 47b00aa

Please sign in to comment.