Skip to content

Commit

Permalink
add more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
amitsagtani97 committed Oct 12, 2023
1 parent 1e69434 commit 28e0faa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions offline/cd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ set -euo pipefail

function cleanup {
(cd terraform/examples/wire-server-deploy-offline-hetzner ; terraform destroy -auto-approve)
echo "Running terraform plan:"
terraform plan
echo "Running terraform providers"
terraform providers
echo "Running terraform init"
terraform init
echo done
}
trap cleanup EXIT
Expand Down

0 comments on commit 28e0faa

Please sign in to comment.