From f370619fbb34ba5f59d4955a24939f15dedc72d0 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 5 Jun 2019 19:48:18 -0300 Subject: Always destroy infrastructure before applying --- TODOs.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'TODOs.org') diff --git a/TODOs.org b/TODOs.org index 235f6d6..9a6007f 100644 --- a/TODOs.org +++ b/TODOs.org @@ -130,7 +130,8 @@ Also put all of the content of =secrets/*= into vps-state? Maybe rename it to vp Right now, secrets are scattered between the two repositories. By moving I can completely remove =git-crypt= from this repository. ** TODO Run backup on Terraform destroy action instead of manually in =provision.sh= -** TODO Explicitly destroy Droplets before running Terraform apply? +** DONE Explicitly destroy Droplets before running Terraform apply +CLOSED: [2019-06-05 Wed 19:48] ** TODO Store updated =.tfstate= even in case of deployment failure Right now the script fails on Terraform commands before reaching git commands. I should trap the error, store on git and only then fail. ** TODO Fix alias in =bash-profile.sh= -- cgit v1.2.3